staging: rtl8188eu: Move channel_table away from rtw_mlme_ext.h
authorFabio M. De Francesco <fmdefrancesco@gmail.com>
Tue, 13 Apr 2021 10:20:33 +0000 (12:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Apr 2021 08:21:19 +0000 (10:21 +0200)
commitc3db59cfe16ad81d691904d9420fdefa34063b29
tree05b3dee9d56708a78cc7e6fd3e2ec30c2499042f
parent174250f8d965ac06823e8935917b26cee5bdeac5
staging: rtl8188eu: Move channel_table away from rtw_mlme_ext.h

Moved "static const struct channel_table[]" from include/rtw_mlme_ext.h
to core/rtw_ioctl_set.c because the latter is the only file that uses
that array of struct(s) in the whole driver. "make rtl8188eu/ W=1" output
several warnings about "'channel_table' defined but not used
[-Wunused-const-variable=]".

Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Link: https://lore.kernel.org/r/20210413102033.24781-1-fmdefrancesco@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ioctl_set.c
drivers/staging/rtl8188eu/include/rtw_mlme_ext.h