2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00
linux-next/drivers/staging/rtl8187se
Peter Huewe 2c370d9512 staging/rtl8187se: Reuse ReadBBPortUchar to avoid duplicated code
WriteBBPortUchar reimplements ReadBBPortUchar in its body, so we can
remove the duplicated code by calling ReadBBPortUchar directly.

Unfortunately we have to move ReadBBPortUchar around; while at it we can
also get rid of the temporary variable for the return value.

Also we can remove the local variables UCharData and RegisterContent in
WriteBBPortUchar as they are not used / without effect.

Both functions are only 'local' so we can mark them as static.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-15 10:28:36 -08:00
..
ieee80211 staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
Kconfig
Makefile Staging: rtl8187se: Fix typos. 2012-04-18 16:58:16 -07:00
r8180_93cx6.h
r8180_core.c staging: rtl8187se: Fix failure to check pci_map_single() 2013-01-07 12:57:27 -08:00
r8180_dm.c Staging: rtl8187se: Fix typos. 2012-04-18 16:58:16 -07:00
r8180_dm.h staging/rtl8187se: Fix spacing coding style in r8180_dm.h 2012-11-21 13:59:58 -08:00
r8180_hw.h staging: rtl8187se: Fix typo in staging/rtl8187se 2012-08-13 19:32:13 -07:00
r8180_rtl8225.h staging: rtl8187se: Removed unused parameters of HwHSSIThreeWire() 2012-11-13 12:41:58 -08:00
r8180_rtl8225z2.c staging: rtl8187se: Use ARRAY_SIZE instead of in-code constants 2012-11-13 12:41:58 -08:00
r8180_wx.c Staging: rtl8187se: remove check for IW_ENCODE_DISABLED 2012-11-21 14:00:01 -08:00
r8180_wx.h Staging: rtl8187se: Fix typos. 2012-04-18 16:58:16 -07:00
r8180.h staging: rtl8187se: Removed empty stub read_acadapter_file() 2012-11-13 12:41:59 -08:00
r8185b_init.c staging/rtl8187se: Reuse ReadBBPortUchar to avoid duplicated code 2013-02-15 10:28:36 -08:00
TODO