linux/drivers/staging/rtl8712
Tapasweni Pathak ddcb81e741 staging: rtl8712: merge lines and remove unused variable for immediate return
This patch merge two lines in a single line if immediate return is found.
Unused variables in each case were removed manually as they are no longer
needed.

This is done using Coccinelle. Semantic patch used for this is as
follows :
@@
expression ret;
identifier f;
@@

-ret =
+return
     f(...);
-return ret;

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-23 08:14:37 -07:00
..
basic_types.h
drv_types.h staging: rtl8712: remove #define _workitem struct work_struct 2014-07-09 12:30:46 -07:00
ethernet.h rtl8712: remove unused definitions from ethernet.h 2013-01-11 16:39:12 -08:00
hal_init.c staging: rtl8712: Remove useless variable 'fw_found' 2014-06-19 16:40:07 -07:00
ieee80211.c staging: r8712u: Remove useless return variables 2014-05-24 02:17:18 +09:00
ieee80211.h staging: rtl8712, rtl8712: avoid lots of build warnings 2014-06-19 16:44:04 -07:00
Kconfig Kconfig: Remove useless "default N" lines 2014-02-20 14:38:06 +01:00
Makefile
mlme_linux.c staging:rtl8712:mlme_linux.c: Adds blank lines to pass checkpatch.pl 2014-07-30 17:05:56 -07:00
mlme_osdep.h
mp_custom_oid.h
os_intfs.c staging: rtl8712: Remove useless variable 'fw_found' 2014-06-19 16:40:07 -07:00
osdep_intf.h
osdep_service.h staging: rtl8712: remove wrapper function thread_enter() 2014-07-09 21:17:50 -07:00
recv_linux.c staging: r8712u: fix bug in r8712_recv_indicatepkt() 2012-09-10 15:58:31 -07:00
recv_osdep.h
rtl871x_cmd.c staging: rtl8712: remove wrapper function get_next 2014-06-26 20:33:16 -04:00
rtl871x_cmd.h staging: rtl8712: remove wrapper function _init_listhead 2014-06-26 20:33:15 -04:00
rtl871x_debug.h
rtl871x_eeprom.c
rtl871x_eeprom.h
rtl871x_event.h
rtl871x_ht.h
rtl871x_io.c Staging: rtl8712 : Fix line over 80 characters 2014-09-23 08:14:36 -07:00
rtl871x_io.h Staging: rtl8712: fixed space prohibition 2014-09-23 08:08:58 -07:00
rtl871x_ioctl_linux.c Staging: rtl8712 : Fix line over 80 characters 2014-09-23 08:14:36 -07:00
rtl871x_ioctl_rtl.c Staging: rtl8712: fix spaces before semicolons 2013-10-03 13:50:54 -07:00
rtl871x_ioctl_rtl.h
rtl871x_ioctl_set.c staging: rtl8712: remove wrapper function _queue_empty 2014-06-26 20:33:16 -04:00
rtl871x_ioctl_set.h
rtl871x_ioctl.h Staging: rtl8712: Add space after return type 2014-09-23 08:14:36 -07:00
rtl871x_led.h staging: rtl8712: remove #define _workitem struct work_struct 2014-07-09 12:30:46 -07:00
rtl871x_mlme.c Staging: rtl8712: Remove unnecessary parentheses 2014-09-23 08:14:36 -07:00
rtl871x_mlme.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl871x_mp_ioctl.c staging: r8712u: Remove useless return variables 2014-05-24 02:17:18 +09:00
rtl871x_mp_ioctl.h
rtl871x_mp_phy_regdef.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl871x_mp.c staging: rtl8712: merge lines and remove unused variable for immediate return 2014-09-23 08:14:37 -07:00
rtl871x_mp.h Staging: rtl8712: remove semicolon after macro 2014-09-23 08:04:57 -07:00
rtl871x_pwrctrl.c staging: rtl8712: remove wrapper function _set_workitem() 2014-07-09 12:30:46 -07:00
rtl871x_pwrctrl.h staging: rtl8712: remove #define _workitem struct work_struct 2014-07-09 12:30:46 -07:00
rtl871x_recv.c Staging: rtl8712 : Fix line over 80 characters 2014-09-23 08:14:36 -07:00
rtl871x_recv.h rtl8712: remove unused definitions from rtl871x_recv.h 2013-03-11 09:49:55 -07:00
rtl871x_rf.h
rtl871x_security.c Staging: rtl8712: remove void function return; statement 2014-09-23 08:04:57 -07:00
rtl871x_security.h rtl8712: code clean up 2013-01-11 16:39:11 -08:00
rtl871x_sta_mgt.c staging: rtl8712: remove wrapper function _queue_empty 2014-06-26 20:33:16 -04:00
rtl871x_wlan_sme.h
rtl871x_xmit.c Staging: rtl8712: use kmalloc_array over kmalloc 2014-09-23 08:11:56 -07:00
rtl871x_xmit.h staging: rtl8712: remove #define _workitem struct work_struct 2014-07-09 12:30:46 -07:00
rtl8712_bitdef.h
rtl8712_cmd.c Staging: rtl8712 : Fix line over 80 characters 2014-09-23 08:14:36 -07:00
rtl8712_cmd.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl8712_cmdctrl_bitdef.h
rtl8712_cmdctrl_regdef.h
rtl8712_debugctrl_bitdef.h
rtl8712_debugctrl_regdef.h
rtl8712_edcasetting_bitdef.h
rtl8712_edcasetting_regdef.h
rtl8712_efuse.c Staging: rtl8712: fix spaces before semicolons 2013-10-03 13:50:54 -07:00
rtl8712_efuse.h
rtl8712_event.h
rtl8712_fifoctrl_bitdef.h
rtl8712_fifoctrl_regdef.h
rtl8712_gp_bitdef.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl8712_gp_regdef.h
rtl8712_hal.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl8712_interrupt_bitdef.h
rtl8712_io.c staging: rtl8712: merge lines and remove unused variable for immediate return 2014-09-23 08:14:37 -07:00
rtl8712_led.c staging: rtl8712: remove wrapper function _set_workitem() 2014-07-09 12:30:46 -07:00
rtl8712_macsetting_bitdef.h
rtl8712_macsetting_regdef.h
rtl8712_powersave_bitdef.h
rtl8712_powersave_regdef.h
rtl8712_ratectrl_bitdef.h
rtl8712_ratectrl_regdef.h
rtl8712_recv.c Staging: rtl8712: Remove unnecessary parentheses 2014-09-23 08:14:36 -07:00
rtl8712_recv.h staging: r8712u: Reduce maximum receive buffer size to a more sensible value 2012-08-13 19:25:48 -07:00
rtl8712_regdef.h
rtl8712_security_bitdef.h
rtl8712_spec.h
rtl8712_syscfg_bitdef.h
rtl8712_syscfg_regdef.h
rtl8712_timectrl_bitdef.h
rtl8712_timectrl_regdef.h
rtl8712_wmac_bitdef.h
rtl8712_wmac_regdef.h
rtl8712_xmit.c staging: rtl8712: remove wrapper function _queue_empty 2014-06-26 20:33:16 -04:00
rtl8712_xmit.h
sta_info.h rtl8712: code clean up 2013-01-11 16:39:11 -08:00
TODO
usb_halinit.c staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
usb_intf.c Staging: rtl8712 : Fix line over 80 characters 2014-09-23 08:14:36 -07:00
usb_ops_linux.c Staging: rtl8712 : Fix line over 80 characters 2014-09-23 08:14:36 -07:00
usb_ops.c staging: delete all duplicated endian crap from rtl8712 driver 2012-05-10 13:10:03 -04:00
usb_ops.h
usb_osintf.h staging: r8712u: Remove defines that are not used 2012-09-04 14:14:08 -07:00
wifi.h rtl8712: remove unused macros from rtl8712/wifi.h 2013-01-11 16:39:11 -08:00
wlan_bssdef.h
xmit_linux.c Staging: rtl8712: fix spaces before semicolons 2013-10-03 13:50:54 -07:00
xmit_osdep.h