mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 16:07:17 -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:
committed by
Greg Kroah-Hartman
parent
ddedb78aac
commit
d4457a8e42
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user