diff options
author | Marcos Paulo de Souza <marcos.mage@gmail.com> | 2011-12-28 16:07:40 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 12:18:25 -0500 |
commit | 506215ba22fea4a9190b7e33413405bd4d4ab1e1 (patch) | |
tree | 34bbb6b8201f47793ed45fea47340b77ca07c128 /drivers | |
parent | 1a2463f6e22532ad1b036f1cedab33dc998b3088 (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')
-rw-r--r-- | drivers/staging/vt6656/iwctl.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/staging/vt6656/iwctl.c b/drivers/staging/vt6656/iwctl.c index 480e07f6c4b..d6fd0105bf9 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) | |||
85 | return &pDevice->wstats; | 85 | return &pDevice->wstats; |
86 | } | 86 | } |
87 | 87 | ||
88 | static int iwctl_commit(struct net_device *dev, | ||
89 | struct iw_request_info *info, | ||
90 | void *wrq, | ||
91 | char *extra) | ||
92 | { | ||
93 | DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCSIWCOMMIT\n"); | ||
94 | |||
95 | return 0; | ||
96 | } | ||
97 | |||
98 | /* | 88 | /* |
99 | * Wireless Handler : get protocol name | 89 | * Wireless Handler : get protocol name |
100 | */ | 90 | */ |
@@ -1818,7 +1808,7 @@ int iwctl_siwmlme(struct net_device *dev, | |||
1818 | 1808 | ||
1819 | static const iw_handler iwctl_handler[] = | 1809 | static const iw_handler iwctl_handler[] = |
1820 | { | 1810 | { |
1821 | (iw_handler) iwctl_commit, // SIOCSIWCOMMIT | 1811 | (iw_handler) NULL, /* SIOCSIWCOMMIT */ |
1822 | (iw_handler) NULL, // SIOCGIWNAME | 1812 | (iw_handler) NULL, // SIOCGIWNAME |
1823 | (iw_handler) NULL, // SIOCSIWNWID | 1813 | (iw_handler) NULL, // SIOCSIWNWID |
1824 | (iw_handler) NULL, // SIOCGIWNWID | 1814 | (iw_handler) NULL, // SIOCGIWNWID |