From: Gauthier Voron Date: Wed, 18 Mar 2015 22:46:41 +0000 (+0100) Subject: Staging: lustre: fix some coding style X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=acf60c3d3d596d62272a8f584049b926c4015564;p=deliverable%2Flinux.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);