]> git.baikalelectronics.ru Git - kernel.git/commitdiff
nfsd4: Remove unneeded semicolon
authorzhengbin <zhengbin13@huawei.com>
Thu, 19 Dec 2019 09:29:20 +0000 (17:29 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 19 Dec 2019 22:42:44 +0000 (17:42 -0500)
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>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c

index 390ad454a229cc4ab721ca0c5c5f8d383f4e3ba2..be141136aec25dacf9fc1d6e4d5a6f80d4871036 100644 (file)
@@ -3422,7 +3422,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;
 }