]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vt6656: Removed redundant code from iwctl file
authorNandini Hanumanthagowda <nandu.hgowda@gmail.com>
Sat, 12 Oct 2013 16:20:02 +0000 (21:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Oct 2013 16:15:26 +0000 (09:15 -0700)
There was one line which was added twice in the
definition of iwctl_handler and hence was redundant.
It was defined at line nos 1798 and 1818. Removed
the code at line 1818.
The redundant code was:
IW_HANDLER(SIOCSIWMLME, iwctl_siwmlme)
which was defined twice.

Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/iwctl.c

index 59688881a9a08404b58dec3b8ab1995dd4ea7480..dc3201a9f3dcb82192cf9fe7675a3b9e117c2517 100644 (file)
@@ -1815,7 +1815,6 @@ static const iw_handler iwctl_handler[] = {
        IW_HANDLER(SIOCGIWPOWER, iwctl_giwpower),
        IW_HANDLER(SIOCSIWGENIE, iwctl_siwgenie),
        IW_HANDLER(SIOCGIWGENIE, iwctl_giwgenie),
-       IW_HANDLER(SIOCSIWMLME, iwctl_siwmlme),
        IW_HANDLER(SIOCSIWAUTH, iwctl_siwauth),
        IW_HANDLER(SIOCGIWAUTH, iwctl_giwauth),
        IW_HANDLER(SIOCSIWENCODEEXT, iwctl_siwencodeext),