]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: remove unwanted code
authorHari Prasath Gujulan Elango <hgujulan@visteon.com>
Tue, 16 Jun 2015 07:38:02 +0000 (07:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jun 2015 02:23:25 +0000 (19:23 -0700)
commit463ae78dcac38018d04905cc66e80f8bbf37ab37
treeae5c634b31331e6bcb71f87cda045066ada53314
parentf17e8d1b44d650dabb32dc43e22c6a1651055cbf
staging: wilc1000: remove unwanted code

This patch removes SIOCDEVPRIVATE + 1 ioctl.  It currently is just a
stub which does some useless printks and returns.  In the original code,
if the user passes priv_cmd.total_len == 0 then it will Oops.  Also it
leaks memory every time it's called.  In the future, we will implement
this functionality using generic API functions

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c