]> 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)
commit1054d808775ababd40efc928e1a3a3842b9a7a0b
treeae5c634b31331e6bcb71f87cda045066ada53314
parent805cc33aedd949b38643f2a4504300debce6c484
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