]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ks7010: Unnecessary parentheses removed and improved coding style.
authorArushi Singhal <arushisinghal19971997@gmail.com>
Tue, 28 Feb 2017 11:08:25 +0000 (16:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:07 +0000 (09:17 +0100)
commit126f7dfd89272091c5fbc9df8493258ac5932d80
tree06e8452457e215666564a5ee320f2c2951444b12
parente355848913c6463d14e4a7e027c67a2835c12132
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