staging: rtl8192e: Remove unused function dot11d_init()
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 19 Nov 2023 22:15:47 +0000 (23:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Nov 2023 12:46:29 +0000 (12:46 +0000)
commit30df513356a70b34ea6c937f8e7b6e413b257214
tree3c28f9dccafded116016889c6eb7ddf1b8bc23f2
parent1e8d81e8c9ec127a54e21f0370ba40540dcd0ad1
staging: rtl8192e: Remove unused function dot11d_init()

The variable dot11d_info->channel_map is initialized in dot11d_init() and
in dot11d_channel_map(). dot11d_init() is called only once just before
dot11d_channel_map(). Therefore dot11d_init() can be removed.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/d2e8d81ec9eefc7b7eeb9f6fd6a28b28db6b40f0.1700431464.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/dot11d.c
drivers/staging/rtl8192e/dot11d.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.c