* [PATCH] nfsd4: Remove unneeded semicolon
@ 2019-12-19 9:29 zhengbin
2019-12-19 22:43 ` J. Bruce Fields
0 siblings, 1 reply; 2+ messages in thread
From: zhengbin @ 2019-12-19 9:29 UTC (permalink / raw)
To: bfields, chuck.lever, linux-nfs; +Cc: zhengbin13
Fixes coccicheck warning:
fs/nfsd/nfs4state.c:3376:2-3: Unneeded semicolon
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
fs/nfsd/nfs4state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 369e574..54c2917 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -3373,7 +3373,7 @@ static __be32 nfsd4_map_bcts_dir(u32 *dir)
case NFS4_CDFC4_BACK_OR_BOTH:
*dir = NFS4_CDFC4_BOTH;
return nfs_ok;
- };
+ }
return nfserr_inval;
}
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nfsd4: Remove unneeded semicolon
2019-12-19 9:29 [PATCH] nfsd4: Remove unneeded semicolon zhengbin
@ 2019-12-19 22:43 ` J. Bruce Fields
0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2019-12-19 22:43 UTC (permalink / raw)
To: zhengbin; +Cc: chuck.lever, linux-nfs
Thanks, applying.--b.
On Thu, Dec 19, 2019 at 05:29:20PM +0800, zhengbin wrote:
> Fixes coccicheck warning:
>
> fs/nfsd/nfs4state.c:3376:2-3: Unneeded semicolon
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: zhengbin <zhengbin13@huawei.com>
> ---
> fs/nfsd/nfs4state.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> index 369e574..54c2917 100644
> --- a/fs/nfsd/nfs4state.c
> +++ b/fs/nfsd/nfs4state.c
> @@ -3373,7 +3373,7 @@ static __be32 nfsd4_map_bcts_dir(u32 *dir)
> case NFS4_CDFC4_BACK_OR_BOTH:
> *dir = NFS4_CDFC4_BOTH;
> return nfs_ok;
> - };
> + }
> return nfserr_inval;
> }
>
> --
> 2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-19 22:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-19 9:29 [PATCH] nfsd4: Remove unneeded semicolon zhengbin
2019-12-19 22:43 ` J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox