]> git.baikalelectronics.ru Git - kernel.git/commit
staging, vt6656/wpactl.c: A basic style cleanup
authorJesper Juhl <jj@chaosbits.net>
Mon, 16 Jan 2012 20:28:23 +0000 (21:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:20:06 +0000 (09:20 -0800)
commit518b74ed61ab402157607f703d184a4a35fca488
treea6583ed1d33256f148114fadb8245ba74654f889
parent37c1028b0a0546bee3fa08645a27ece733d6da35
staging, vt6656/wpactl.c: A basic style cleanup

This patch cleans up the coding style in
drivers/staging/vt6656/wpactl.c to closer match the generally accepted
kernel CodingStyle. It is by no means a "make it perfect" patch, but
it does get the file a fair bit closer to matching the accepted style
(whomever was involved in the evolution of this file seriously need to
configure their editors to maintain a consistent style - it was a
mess).

Besides pure style cleanups I also took the liberty of removing some
pointless parens, some unneeded casts and removing some commented out code
(it was obviously not used and git has it if it's ever needed in the
future).

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/wpactl.c