summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/tkip.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-03-19 03:55:38 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 18:16:17 (GMT)
commita4ef27ad02e0bfd165e81d6a4f3771ace42ebe41 (patch)
tree70afcff9753616b606e3657cb4a98301d6e452b3 /drivers/staging/vt6655/tkip.c
parent5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971 (diff)
downloadlinux-fsl-qoriq-a4ef27ad02e0bfd165e81d6a4f3771ace42ebe41.tar.xz
staging: vt6655: Remove unnecessary parentheses from returns
Returns aren't functions, remove the parentheses to be more kernel style like. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/tkip.c')
-rw-r--r--drivers/staging/vt6655/tkip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/tkip.c b/drivers/staging/vt6655/tkip.c
index ccdcdf5..83f9a41 100644
--- a/drivers/staging/vt6655/tkip.c
+++ b/drivers/staging/vt6655/tkip.c
@@ -151,7 +151,7 @@ unsigned int tkip_sbox(unsigned int index)
left = TKIP_Sbox_Lower[index_low] + (TKIP_Sbox_Upper[index_low] * 256);
right = TKIP_Sbox_Upper[index_high] + (TKIP_Sbox_Lower[index_high] * 256);
- return (left ^ right);
+ return left ^ right;
};