1. 27 9月, 2016 1 次提交
  2. 26 9月, 2016 18 次提交
  3. 25 9月, 2016 18 次提交
  4. 24 9月, 2016 3 次提交
    • B
      Staging: ks7010: remove unused function in ks_wlan_net.c · e4e8d968
      Baoyou Xie 提交于
      We get 1 warning when building kernel with W=1:
      drivers/staging/ks7010/ks_wlan_net.c:3520:5: warning: no previous prototype for 'ks_wlan_reset' [-Wmissing-prototypes]
      
      In fact, these functions are unused in
      ks_wlan_net.c, but should be removed.
      
      So this patch removes the unused function.
      Signed-off-by: NBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e4e8d968
    • B
      staging: rtl8192u: remove unused functions in r8192U_core.c · af8b19c4
      Baoyou Xie 提交于
      We get 2 warnings when building kernel with W=1:
      drivers/staging/rtl8192u/r8192U_core.c:925:12: warning: no previous declaration for 'ieeerate2rtlrate' [-Wmissing-declarations]
      drivers/staging/rtl8192u/r8192U_core.c:958:12: warning: no previous declaration for 'rtl8192_rate2rate' [-Wmissing-declarations]
      drivers/staging/rtl8192u/r8192U_core.c:1322:11: warning: no previous declaration for 'rtl8192_IsWirelessBMode' [-Wmissing-declarations]
      
      In fact, these functions are unused in
      r8192U_core.c, but should be removed.
      
      So this patch removes the unused functions.
      Signed-off-by: NBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      af8b19c4
    • B
      staging: rtl8192u: ieee80211: ieee80211_softmac: mark symbols static where possible · 3590e78a
      Baoyou Xie 提交于
      We get 5 warnings when building kernel with W=1:
      drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:287:13: warning: no previous declaration for 'softmac_ps_mgmt_xmit' [-Wmissing-declarations]
      drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:323:24: warning: no previous declaration for 'ieee80211_probe_req' [-Wmissing-declarations]
      drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:643:24: warning: no previous declaration for 'ieee80211_authentication_req' [-Wmissing-declarations]
      drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:981:24: warning: no previous declaration for 'ieee80211_association_req' [-Wmissing-declarations]
      drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:3094:24: warning: no previous declaration for 'ieee80211_disassociate_skb' [-Wmissing-declarations]
      
      In fact, these functions are only used in the file in which they are
      declared and don't need a declaration, but can be made static.
      so this patch marks these functions with 'static'.
      Signed-off-by: NBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3590e78a