linux/drivers/staging
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
..
android staging: alarm-dev: Implement compat_ioctl support 2013-01-18 12:37:11 -08:00
asus_oled staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
bcm staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
ccg TTY/Serial merge for 3.8-rc1 2012-12-11 14:08:47 -08:00
ced1401 staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
comedi staging/comedi: Remove if(); statement without effect 2013-02-15 10:20:14 -08:00
cptm1217 staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
crystalhd staging: crystalhd: remove use of __devexit 2012-11-21 15:05:12 -08:00
csr staging/csr: Use kmemdup rather than duplicating its implementation 2013-01-29 23:22:16 -05:00
cxt1e1 staging: cxt1e1: buffer overflow in do_del_chan() 2013-01-25 11:21:26 -08:00
dgrp staging: dgrp: remove redundant NULL check before unregister_dgrp_device(). 2013-02-13 08:46:48 -08:00
echo staging: echo.c: fix memory leakage 2013-01-07 14:03:32 -08:00
et131x staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
frontier staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
ft1000 staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
fwserial staging/fwserial: Fix compiler warning 2013-01-31 10:30:34 +01:00
gdm72xx staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
goldfish staging/goldfish: Add MTD dependency to KCONFIG 2013-02-07 17:16:07 -08:00
iio staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
imx-drm staging: ipu-di: Change DI address info to dev_dbg 2013-01-17 13:52:37 -08:00
keucr staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
line6 staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
media Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
net
nvec staging: nvec: cleanup the string mess 2013-01-29 23:25:10 -05:00
octeon
olpc_dcon
omap-thermal staging: omap-thermal/omap-bandgap.c: adjust duplicate test 2013-01-21 14:00:10 -08:00
omapdrm staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
ozwpan staging/ozwpan: Fix NULL vs zero in ozhcd.c (sparse warning) 2013-02-15 10:25:11 -08:00
panel staging/panel: Mark local functions/structs static and add const if applicable (fix sparse warnings) 2013-02-15 10:20:14 -08:00
phison
quickstart
rtl8187se staging/rtl8187se: Reuse ReadBBPortUchar to avoid duplicated code 2013-02-15 10:28:36 -08:00
rtl8192e staging: rtl8192e: Fix failure to check pci_map_single() 2013-01-07 12:57:27 -08:00
rtl8192u staging/rtl8192u/ieee80211: Fix buffer overflow in ieee80211_softmac_wx.c 2013-02-14 09:26:23 -08:00
rtl8712 rtl8712: remove unused definitions from ethernet.h 2013-01-11 16:39:12 -08:00
rts5139
sb105x Merge 3.8-rc5 into staging-next 2013-01-25 21:25:02 -08:00
sbe-2t3e3 staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
sep staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
serqt_usb2
silicom
slicoss staging: slicoss: Fix space-related checkpatch.pl warnings 2013-01-17 13:53:06 -08:00
sm7xxfb staging: sm7xxfb: remove use of __devexit 2012-11-21 15:05:12 -08:00
speakup staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
ste_rmi4 staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
tidspbridge staging: tidspbridge: remove redundant NULL check before delete_msg_mgr(). 2013-02-13 08:46:48 -08:00
usbip staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
vme staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
vt6655 staging: vt6655: no braces needed for single statement if , for blocks 2013-01-17 13:17:03 -08:00
vt6656 staging/vt6656: Fix sparse warning constant 0xffffffff00000000U is so big it is unsigned long 2013-02-05 14:37:44 -08:00
winbond staging: Add angle bracket before and after the URL 2013-01-07 14:56:04 -08:00
wlags49_h2 staging: wlags49_h2: remove unneeded memset() in wireless_get_bssid() 2013-01-07 11:08:12 -08:00
wlags49_h25
wlan-ng staging/wlan-ng: Fix 'Branch condition evaluates to a garbage value' in p80211netdev.c 2013-02-14 09:26:23 -08:00
xgifb staging: xgifb: XGI_SetDelayComp(): delete IF_DEF_LVDS check 2013-02-08 15:39:58 -08:00
zcache zcache/zbud: Fix __init mismatch 2013-02-15 10:16:11 -08:00
zram staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
zsmalloc staging: zsmalloc: remove unused pool name 2013-01-30 18:22:41 +01:00
Kconfig goldfish: audio support 2013-01-24 13:51:38 -08:00
Makefile goldfish: audio support 2013-01-24 13:51:38 -08:00
staging.c