1
0
Fork 0
alistair23-linux/drivers/staging/rtl8712
Joseph Bisch af09054958 staging: rtl8712: Remove unnecessary ret variable
Since the variable ret is set at the beginning of the function and
never changes its value, we can just return the value it was set to.

Found using coccinelle with misc/returnvar.cocci.

Signed-off-by: Joseph Bisch <joseph.bisch@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-14 16:49:09 -08:00
..
Kconfig
Makefile
TODO
basic_types.h
drv_types.h staging: rtl8712: Improve suspend/resume functionality. 2016-02-07 19:52:30 -08:00
ethernet.h
hal_init.c staging: rtl8712: braces should be used on all arms 2015-10-24 19:26:59 -07:00
ieee80211.c staging: rtl8712: spaces preferred around operands 2015-10-24 19:26:59 -07:00
ieee80211.h staging: rtl8712: Remove unused CamelCase define 2016-02-07 19:50:09 -08:00
mlme_linux.c staging: rtl8712: spaces preferred around operands 2015-10-24 19:26:59 -07:00
mlme_osdep.h
mp_custom_oid.h
os_intfs.c staging: rtl8712: Remove unnecessary ret variable 2016-02-14 16:49:09 -08:00
osdep_intf.h
osdep_service.h staging/rtl8712 : Remove duplicated BIT() definitions 2015-09-12 18:24:56 -07:00
recv_linux.c Staging: rtl8712: recv_linux.c: Coding style warning fix for block comment 2015-10-08 10:34:50 +01:00
recv_osdep.h
rtl871x_cmd.c staging: rtl8712: use list_first_entry_or_null() 2016-02-07 19:53:04 -08:00
rtl871x_cmd.h staging: rtl8712: removed unused wrapper structs 2015-08-07 15:14:03 -07:00
rtl871x_debug.h
rtl871x_eeprom.c staging: rtl8712: Remove boolean comparisons 2015-10-24 19:26:59 -07:00
rtl871x_eeprom.h
rtl871x_event.h staging: rtl8712: remove duplicate struct 2015-08-07 15:14:03 -07:00
rtl871x_ht.h
rtl871x_io.c Staging: rtl8712: rtl871x_io: Remove explicit cast 2015-10-16 22:12:30 -07:00
rtl871x_io.h staging: rtl8712: rtl871x_io: Remove unused function 2015-10-29 07:55:17 +09:00
rtl871x_ioctl.h staging: rtl8712: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
rtl871x_ioctl_linux.c staging: rtl8712: memory corruption in wpa_set_encryption() 2016-02-07 19:52:30 -08:00
rtl871x_ioctl_rtl.c Staging: rtl8712: Remove unnecessary cast on void pointer 2016-02-07 19:52:30 -08:00
rtl871x_ioctl_rtl.h
rtl871x_ioctl_set.c staging: rtl8712: spaces preferred around operands 2015-10-24 19:26:59 -07:00
rtl871x_ioctl_set.h
rtl871x_led.h
rtl871x_mlme.c staging: rtl8712: use list_first_entry_or_null() 2016-02-07 19:53:04 -08:00
rtl871x_mlme.h staging: rtl8712: Remove boolean comparisons 2015-10-24 19:26:59 -07:00
rtl871x_mp.c staging: rtl8712: rtl871x_mp: Remove unused function 2015-10-27 16:58:00 +09:00
rtl871x_mp.h staging: rtl8712: rtl871x_mp: Remove unused function 2015-10-27 16:58:00 +09:00
rtl871x_mp_ioctl.c staging: rtl8712: spaces preferred around operands 2015-10-24 19:26:59 -07:00
rtl871x_mp_ioctl.h
rtl871x_mp_phy_regdef.h
rtl871x_pwrctrl.c staging: rtl8712: Remove boolean comparisons 2015-10-24 19:26:59 -07:00
rtl871x_pwrctrl.h
rtl871x_recv.c staging: rtl8712: use list_first_entry_or_null() 2016-02-07 19:53:04 -08:00
rtl871x_recv.h
rtl871x_rf.h
rtl871x_security.c staging: rtl8712: spaces preferred around operands 2015-10-24 19:26:59 -07:00
rtl871x_security.h
rtl871x_sta_mgt.c staging: rtl8712: use list_first_entry_or_null() 2016-02-07 19:53:04 -08:00
rtl871x_wlan_sme.h
rtl871x_xmit.c staging: rtl8712: use list_first_entry_or_null() 2016-02-07 19:53:04 -08:00
rtl871x_xmit.h
rtl8712_bitdef.h
rtl8712_cmd.c Staging: rtl8712: rtl8712_cmd: Fixed a warning. 2016-02-07 19:53:04 -08:00
rtl8712_cmd.h
rtl8712_cmdctrl_bitdef.h Staging: rtl8712: rtl8712_cmdctrl_bitdef.h: Coding style warning fix for block comment 2015-10-08 10:34:50 +01:00
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: Fixed a comparision coding style warning. 2016-02-14 16:49:09 -08:00
rtl8712_efuse.h
rtl8712_event.h
rtl8712_fifoctrl_bitdef.h
rtl8712_fifoctrl_regdef.h
rtl8712_gp_bitdef.h Staging: rtl8712: rtl8712_gp_bitdef.h: Coding style warning fix for block comment 2015-10-08 10:34:50 +01:00
rtl8712_gp_regdef.h
rtl8712_hal.h Staging: rtl8712: rtl8712_hal.h: Coding style warnings fix for block comments 2015-10-08 10:34:50 +01:00
rtl8712_interrupt_bitdef.h
rtl8712_io.c staging: rtl8712: Cleanup _io_ops wrappers 2016-02-07 19:50:09 -08:00
rtl8712_led.c staging: rtl8712: spaces preferred around operands 2015-10-24 19:26:59 -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: spaces preferred around operands 2015-10-24 19:26:59 -07:00
rtl8712_recv.h
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: spaces preferred around operands 2015-10-24 19:26:59 -07:00
rtl8712_xmit.h
sta_info.h
usb_halinit.c staging: rtl8712: spaces preferred around operands 2015-10-24 19:26:59 -07:00
usb_intf.c staging: rtl8712: Improve suspend/resume functionality. 2016-02-07 19:52:30 -08:00
usb_ops.c staging: rtl8712: spaces preferred around operands 2015-10-24 19:26:59 -07:00
usb_ops.h
usb_ops_linux.c staging: rtl8712: Improve suspend/resume functionality. 2016-02-07 19:52:30 -08:00
usb_osintf.h
wifi.h staging/rtl8712 : Remove duplicated BIT() definitions 2015-09-12 18:24:56 -07:00
wlan_bssdef.h staging: rtl8712: change SupportedRates to rates 2015-08-07 15:14:04 -07:00
xmit_linux.c staging: rtl8712: Remove boolean comparisons 2015-10-24 19:26:59 -07:00
xmit_osdep.h