mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
staging: rtl8187se: Simplified function GetSupportedWirelessMode8185()
Removed unnecessary variable in GetSupportedWirelessMode8185() and shortened its code Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ddedb78aac
commit
d4457a8e42
1 changed files with 1 additions and 4 deletions
|
|
@ -927,10 +927,7 @@ static void MacConfig_85BASIC(struct net_device *dev)
|
|||
|
||||
u8 GetSupportedWirelessMode8185(struct net_device *dev)
|
||||
{
|
||||
u8 btSupportedWirelessMode = 0;
|
||||
|
||||
btSupportedWirelessMode = (WIRELESS_MODE_B | WIRELESS_MODE_G);
|
||||
return btSupportedWirelessMode;
|
||||
return WIRELESS_MODE_B | WIRELESS_MODE_G;
|
||||
}
|
||||
|
||||
void ActUpdateChannelAccessSetting(struct net_device *dev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue