summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/iwctl.c
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.mage@gmail.com>2011-12-28 21:07:40 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-09 09:18:25 -0800
commit506215ba22fea4a9190b7e33413405bd4d4ab1e1 (patch)
tree34bbb6b8201f47793ed45fea47340b77ca07c128 /drivers/staging/vt6656/iwctl.c
parent1a2463f6e22532ad1b036f1cedab33dc998b3088 (diff)
staging: vt6656: iwctl.c: Remove useless function
The funciton iwctl_commit does nothing, and can be removed. Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/iwctl.c')
-rw-r--r--drivers/staging/vt6656/iwctl.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/staging/vt6656/iwctl.c b/drivers/staging/vt6656/iwctl.c
index 480e07f6c4b8..d6fd0105bf9e 100644
--- a/drivers/staging/vt6656/iwctl.c
+++ b/drivers/staging/vt6656/iwctl.c
@@ -85,16 +85,6 @@ struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev)
return &pDevice->wstats;
}
-static int iwctl_commit(struct net_device *dev,
- struct iw_request_info *info,
- void *wrq,
- char *extra)
-{
- DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCSIWCOMMIT\n");
-
- return 0;
-}
-
/*
* Wireless Handler : get protocol name
*/
@@ -1818,7 +1808,7 @@ int iwctl_siwmlme(struct net_device *dev,
static const iw_handler iwctl_handler[] =
{
- (iw_handler) iwctl_commit, // SIOCSIWCOMMIT
+ (iw_handler) NULL, /* SIOCSIWCOMMIT */
(iw_handler) NULL, // SIOCGIWNAME
(iw_handler) NULL, // SIOCSIWNWID
(iw_handler) NULL, // SIOCGIWNWID