linux/drivers/staging/rtl8712
Bhumika Goyal 340c046991 Staging: rtl8712: remove unused functions
Remove the functions sleep_schedulable, down_scanned_network,
up_scanned_network and get_free_xmit_queue as they are not used anywhere
in the kernel. Functions detected using coccinelle but changes done by
hand.
Script:

@initialize:python@
@@
def display(name,p):
        print(name,p[0].file)

@r1@
identifier func;
type T;
position p;
@@
static T func@p(...)
{
...
}

@r@
identifier r1.func;
@@
func

@script:python depends on !r@
func << r1.func;
p << r1.p;
@@
display(func,p)

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-16 10:24:51 +02:00
..
basic_types.h staging: rtl8712: Fixed FSF address warning in basic_types.h 2016-03-28 07:30:36 -07:00
drv_types.h staging: rtl8712: Fixed FSF address warning in drv_types.h 2016-03-28 07:30:36 -07:00
ethernet.h staging: rtl8712: Fixed FSF address warning in ethernet.h 2016-03-28 07:30:36 -07:00
hal_init.c rtl8712: Fixed alignment to match open parenthesis 2016-05-01 13:57:12 -07:00
ieee80211.c staging: rtl8712: Fixed multiple parenthesis alignment warnings in ieee80211.c 2016-08-21 18:26:45 +02:00
ieee80211.h
Kconfig
Makefile
mlme_linux.c staging: rtl8712: mlme_linux: Clean up tests if NULL returned on failure 2016-03-28 07:30:36 -07:00
mlme_osdep.h
mp_custom_oid.h
os_intfs.c staging: rtl8712: delete one space before if statement 2016-09-02 14:55:54 +02:00
osdep_intf.h rtl8712: intf_priv: Replace semaphore lock with completion 2016-08-21 18:25:47 +02:00
osdep_service.h Staging: rtl8712: remove unused functions 2016-10-16 10:24:51 +02:00
recv_linux.c staging: r8712u: Fix leak of skb 2016-08-21 18:28:49 +02:00
recv_osdep.h
rtl871x_cmd.c Staging: rtl8712: rtl871x_cmd: Use !x instead of x == NULL. 2016-09-20 13:38:00 +02:00
rtl871x_cmd.h staging: rtl8712: fix block comments 2016-09-13 14:51:53 +02:00
rtl871x_debug.h
rtl871x_eeprom.c
rtl871x_eeprom.h
rtl871x_event.h
rtl871x_ht.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_io.c Staging: rtl8712: Clean up tests if NULL returned on failure 2016-03-11 22:09:09 -08:00
rtl871x_io.h
rtl871x_ioctl_linux.c staging: rtl8712: fix coding style error reported from checkpatch 2016-09-13 14:51:53 +02:00
rtl871x_ioctl_rtl.c
rtl871x_ioctl_rtl.h
rtl871x_ioctl_set.c staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_ioctl_set.h
rtl871x_ioctl.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_led.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_mlme.c staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_mlme.h Staging: rtl8712: remove unused functions 2016-10-16 10:24:51 +02:00
rtl871x_mp_ioctl.c
rtl871x_mp_ioctl.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_mp_phy_regdef.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_mp.c staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_mp.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_pwrctrl.c staging: rtl8712: fix double lock bug in SetPSModeWorkItemCallback() 2016-09-16 10:05:13 +02:00
rtl871x_pwrctrl.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_recv.c staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_recv.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_rf.h
rtl871x_security.c
rtl871x_security.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_sta_mgt.c staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_wlan_sme.h
rtl871x_xmit.c staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl871x_xmit.h Staging: rtl8712: remove unused functions 2016-10-16 10:24:51 +02:00
rtl8712_bitdef.h
rtl8712_cmd.c rtl8712: pwrctrl_priv: Replace semaphore lock with mutex 2016-09-01 17:44:01 +02:00
rtl8712_cmd.h
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: rtl8712_efuse: Use !x instead of x == NULL. 2016-09-20 13:37:59 +02:00
rtl8712_efuse.h
rtl8712_event.h
rtl8712_fifoctrl_bitdef.h
rtl8712_fifoctrl_regdef.h
rtl8712_gp_bitdef.h
rtl8712_gp_regdef.h
rtl8712_hal.h
rtl8712_interrupt_bitdef.h
rtl8712_io.c
rtl8712_led.c staging: rtl8712: Change _LED_STATE enum in rtl871x driver to avoid conflicts with LED namespace 2016-09-28 11:36:45 +02: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 Fixes: 3d44a78f0d ("staging: rtl8712: Remove unnecessary 'else'") 2016-09-28 08:10:36 +02:00
rtl8712_recv.h staging: rtl8712: fix block comments 2016-09-13 14:51:53 +02:00
rtl8712_regdef.h
rtl8712_security_bitdef.h
rtl8712_spec.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
rtl8712_syscfg_bitdef.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
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: rtl8712_xmit: Use !x instead of x == NULL 2016-09-20 13:38:00 +02:00
rtl8712_xmit.h
sta_info.h
TODO staging: refresh TODO for rtl8712 2016-03-22 22:22:13 -04:00
usb_halinit.c staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
usb_intf.c staging: rtl8172: usb_intf.c: Fixed block comment coding style 2016-09-26 22:22:13 +02:00
usb_ops_linux.c staging: r8712u: Fix leak of skb 2016-08-21 18:28:49 +02:00
usb_ops.c staging: rtl8712: Remove exceptional & on function name 2016-03-11 22:09:09 -08:00
usb_ops.h
usb_osintf.h
wifi.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
wlan_bssdef.h staging: rtl8712: checkpatch cleanup: block comments using a trailing */ 2016-09-12 11:43:52 +02:00
xmit_linux.c staging: r8712u: Handle some false positives from kmemleak 2016-08-21 18:28:49 +02:00
xmit_osdep.h