OSDN Git Service

staging: ks7010: Unnecessary parentheses removed and improved coding style.
authorArushi Singhal <arushisinghal19971997@gmail.com>
Wed, 1 Mar 2017 10:57:54 +0000 (16:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 13:01:29 +0000 (14:01 +0100)
commitbe04661703522d201590c4541248cb8c92d89f2e
tree22b278f8375f1e90c6f57d55a4a2a4f183896405
parent915e70f9263d56fbf103742265025f7a492aa625
staging: ks7010: Unnecessary parentheses removed and improved coding style.

Unnecessary parentheses are removed as reported by checkpatch.pl
to make coder nicer and to improve readability.
Also coding style is improved as it's often nicer to read if
 &(foo[0]) is converted to foo like:
 memcpy(&(ap->bssid[0]), &(ap_info->bssid[0]), ETH_ALEN);
 memcpy(ap->bssid, ap_info->bssid, ETH_ALEN);

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c
drivers/staging/ks7010/ks_wlan_net.c