diff mbox series

[-next] cifs: Remove unneeded semicolon

Message ID 20230505004925.76301-1-yang.lee@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [-next] cifs: Remove unneeded semicolon | expand

Commit Message

Yang Li May 5, 2023, 12:49 a.m. UTC
./fs/cifs/smb2pdu.c:4140:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4863
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/cifs/smb2pdu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Steve French May 5, 2023, 9:43 a.m. UTC | #1
merged into cifs-2.6.git for-next

On Thu, May 4, 2023 at 8:00 PM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> ./fs/cifs/smb2pdu.c:4140:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4863
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  fs/cifs/smb2pdu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
> index 8e7c15e2fd91..e33ca0d33906 100644
> --- a/fs/cifs/smb2pdu.c
> +++ b/fs/cifs/smb2pdu.c
> @@ -4137,7 +4137,7 @@ smb2_readv_callback(struct mid_q_entry *mid)
>         if (rdata->got_bytes) {
>                 rqst.rq_iter      = rdata->iter;
>                 rqst.rq_iter_size = iov_iter_count(&rdata->iter);
> -       };
> +       }
>
>         WARN_ONCE(rdata->server != mid->server,
>                   "rdata server %p != mid server %p",
> --
> 2.20.1.7.g153144c
>
diff mbox series

Patch

diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index 8e7c15e2fd91..e33ca0d33906 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -4137,7 +4137,7 @@  smb2_readv_callback(struct mid_q_entry *mid)
 	if (rdata->got_bytes) {
 		rqst.rq_iter	  = rdata->iter;
 		rqst.rq_iter_size = iov_iter_count(&rdata->iter);
-	};
+	}
 
 	WARN_ONCE(rdata->server != mid->server,
 		  "rdata server %p != mid server %p",