mirror of
https://github.com/torvalds/linux.git
synced 2024-12-08 20:21:34 +00:00
staging: rtl8188eu: remove unused parameter of hal_com_get_channel_plan()
The parameter 'struct adapter *padapter' of hal_com_get_channel_plan() is unused, so remove it. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
aa906bb630
commit
b4a6b11cd2
@ -45,9 +45,8 @@ void dump_chip_info(struct HAL_VERSION chip_vers)
|
||||
#define CHAN_PLAN_HW 0x80
|
||||
|
||||
/* return the final channel plan decision */
|
||||
u8 hal_com_get_channel_plan(struct adapter *padapter, u8 hw_channel_plan,
|
||||
u8 sw_channel_plan, u8 def_channel_plan,
|
||||
bool load_fail)
|
||||
u8 hal_com_get_channel_plan(u8 hw_channel_plan, u8 sw_channel_plan,
|
||||
u8 def_channel_plan, bool load_fail)
|
||||
{
|
||||
u8 sw_cfg;
|
||||
u8 chnlplan;
|
||||
|
@ -505,8 +505,7 @@ void Hal_EfuseParseEEPROMVer88E(struct adapter *padapter, u8 *hwinfo, bool AutoL
|
||||
void rtl8188e_EfuseParseChnlPlan(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail)
|
||||
{
|
||||
padapter->mlmepriv.ChannelPlan =
|
||||
hal_com_get_channel_plan(padapter,
|
||||
hwinfo ? hwinfo[EEPROM_ChannelPlan_88E] : 0xFF,
|
||||
hal_com_get_channel_plan(hwinfo ? hwinfo[EEPROM_ChannelPlan_88E] : 0xFF,
|
||||
padapter->registrypriv.channel_plan,
|
||||
RT_CHANNEL_DOMAIN_WORLD_WIDE_13, AutoLoadFail);
|
||||
|
||||
|
@ -139,12 +139,8 @@ void dump_chip_info(struct HAL_VERSION ChipVersion);
|
||||
|
||||
|
||||
/* return the final channel plan decision */
|
||||
u8 hal_com_get_channel_plan(struct adapter *padapter,
|
||||
u8 hw_channel_plan,
|
||||
u8 sw_channel_plan,
|
||||
u8 def_channel_plan,
|
||||
bool AutoLoadFail
|
||||
);
|
||||
u8 hal_com_get_channel_plan(u8 hw_channel_plan, u8 sw_channel_plan,
|
||||
u8 def_channel_plan, bool AutoLoadFail);
|
||||
|
||||
u8 MRateToHwRate(u8 rate);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user