staging: rtl8188eu: remove rtw_wx_set_rate handler function
authorPhillip Potter <phil@philpotter.co.uk>
Fri, 25 Jun 2021 19:16:58 +0000 (20:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 08:18:07 +0000 (10:18 +0200)
commitac5951a6e3d50cfa861ea83baa2ec15d994389cb
treeb7e8b8e7d15ededfc402a16c3bfc69877d1b56ea
parent363963c2fefb8b002aac3cebe368b853ebfad675
staging: rtl8188eu: remove rtw_wx_set_rate handler function

Remove rtw_wx_set_rate handler function, which currently handles the
SIOCSIWRATE wext ioctl. This function (although containing a lot of
code) set nothing outside its own local variables, and did nothing other
than call a now removed debugging statement repeatedly. Removing it and
leaving its associated entry in rtw_handlers as NULL is therefore the
better option. Removing this function also fixes a kernel test robot
warning.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210625191658.1299-1-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c