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)
commitf0feeaff9c60bfb3dbadf09da15d70cf35700f29
treeae5c634b31331e6bcb71f87cda045066ada53314
parent5a66bf20b8e17ed3abb1d115049ab9d636bd2d35
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