summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/coreconfigurator.c
diff options
context:
space:
mode:
authorShivani Bhardwaj2015-10-26 15:51:26 +0100
committerGreg Kroah-Hartman2015-10-27 06:27:27 +0100
commitb5c4e4e9d1b31e307d855d3cacbb6f3381ef6140 (patch)
tree295f9eafe2342bb59b17a8986f3f6b0f71b3ff9d /drivers/staging/wilc1000/coreconfigurator.c
parentStaging: wilc1000: coreconfigurator: Remove irrelevant wrapper function (diff)
downloadkernel-qcow2-linux-b5c4e4e9d1b31e307d855d3cacbb6f3381ef6140.tar.gz
kernel-qcow2-linux-b5c4e4e9d1b31e307d855d3cacbb6f3381ef6140.tar.xz
kernel-qcow2-linux-b5c4e4e9d1b31e307d855d3cacbb6f3381ef6140.zip
Staging: wilc1000: coreconfigurator: Remove unnecessary parentheses
Parentheses around some arguments and expressions are not required and should be removed. Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/coreconfigurator.c')
-rw-r--r--drivers/staging/wilc1000/coreconfigurator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
index 1403a33f680f..d002cfbb2a60 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -423,17 +423,17 @@ s32 parse_network_info(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo)
* the beacon/probe response frame
*/
pstrNetworkInfo->u8channel = get_current_channel_802_11n(pu8msa,
- (u16RxLen + FCS_LEN));
+ u16RxLen + FCS_LEN);
/* Get beacon period */
- u8index = (MAC_HDR_LEN + TIME_STAMP_LEN);
+ u8index = MAC_HDR_LEN + TIME_STAMP_LEN;
pstrNetworkInfo->u16BeaconPeriod = get_beacon_period(pu8msa + u8index);
u8index += BEACON_INTERVAL_LEN + CAP_INFO_LEN;
/* Get DTIM Period */
- pu8TimElm = get_tim_elm(pu8msa, (u16RxLen + FCS_LEN), u8index);
+ pu8TimElm = get_tim_elm(pu8msa, u16RxLen + FCS_LEN, u8index);
if (pu8TimElm != NULL)
pstrNetworkInfo->u8DtimPeriod = pu8TimElm[3];
pu8IEs = &pu8msa[MAC_HDR_LEN + TIME_STAMP_LEN + BEACON_INTERVAL_LEN + CAP_INFO_LEN];