diff mbox series

scsi: target: remove unneeded semicolon

Message ID 1612316992-71443-1-git-send-email-yang.lee@linux.alibaba.com (mailing list archive)
State Accepted
Commit 762a8ea515f57166697f45880b8a41162f63ccd9
Headers show
Series scsi: target: remove unneeded semicolon | expand

Commit Message

Yang Li Feb. 3, 2021, 1:49 a.m. UTC
Eliminate the following coccicheck warning:
./drivers/target/sbp/sbp_target.c:1009:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/target/sbp/sbp_target.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chaitanya Kulkarni Feb. 3, 2021, 1:59 a.m. UTC | #1
On 2/2/21 17:52, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/target/sbp/sbp_target.c:1009:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/target/sbp/sbp_target.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/target/sbp/sbp_target.c b/drivers/target/sbp/sbp_target.c
> index e4a9b9f..2a6165f 100644
> --- a/drivers/target/sbp/sbp_target.c
> +++ b/drivers/target/sbp/sbp_target.c
> @@ -1006,7 +1006,7 @@ static void tgt_agent_fetch_work(struct work_struct *work)
>  			agent->state = AGENT_STATE_SUSPENDED;
>  
>  		spin_unlock_bh(&agent->lock);
> -	};
> +	}
>  }
>  
>  static struct sbp_target_agent *sbp_target_agent_register(
Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
diff mbox series

Patch

diff --git a/drivers/target/sbp/sbp_target.c b/drivers/target/sbp/sbp_target.c
index e4a9b9f..2a6165f 100644
--- a/drivers/target/sbp/sbp_target.c
+++ b/drivers/target/sbp/sbp_target.c
@@ -1006,7 +1006,7 @@  static void tgt_agent_fetch_work(struct work_struct *work)
 			agent->state = AGENT_STATE_SUSPENDED;
 
 		spin_unlock_bh(&agent->lock);
-	};
+	}
 }
 
 static struct sbp_target_agent *sbp_target_agent_register(