Staging: lustre: fix some coding style
authorGauthier Voron <gauthier.voron@lip6.fr>
Wed, 18 Mar 2015 22:46:41 +0000 (23:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 22:59:18 +0000 (23:59 +0100)
This patch remove unnecessary bracket.

Signed-off-by: Gauthier Voron <gauthier.voron@lip6.fr>
Signed-off-by: Hakan Metin <hakan.metin@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c

index 71f32999227ec1c1900a9d8e6dfc72e4c459064b..c05a8554d737dcea467e945537299ce9a0ab4446 100644 (file)
@@ -814,9 +814,8 @@ int bulk_sec_desc_unpack(struct lustre_msg *msg, int offset, int swabbed)
                return -EINVAL;
        }
 
-       if (swabbed) {
+       if (swabbed)
                __swab32s(&bsd->bsd_nob);
-       }
 
        if (unlikely(bsd->bsd_version != 0)) {
                CERROR("Unexpected version %u\n", bsd->bsd_version);