From: Gauthier Voron Date: Wed, 18 Mar 2015 22:46:41 +0000 (+0100) Subject: Staging: lustre: fix some coding style X-Git-Tag: firefly_0821_release~176^2~1998^2~138^2~326 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=acf60c3d3d596d62272a8f584049b926c4015564;p=firefly-linux-kernel-4.4.55.git Staging: lustre: fix some coding style This patch remove unnecessary bracket. Signed-off-by: Gauthier Voron Signed-off-by: Hakan Metin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c b/drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c index 71f32999227e..c05a8554d737 100644 --- a/drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c +++ b/drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c @@ -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);