1. 25 Sep, 2016 34 commits
  2. 23 Sep, 2016 6 commits
    • Baoyou Xie's avatar
      Staging: ks7010: remove unused function in ks_wlan_net.c · e4e8d968
      Baoyou Xie authored
      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: default avatarBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e4e8d968
    • Baoyou Xie's avatar
      staging: rtl8192u: remove unused functions in r8192U_core.c · af8b19c4
      Baoyou Xie authored
      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: default avatarBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      af8b19c4
    • Baoyou Xie's avatar
      staging: rtl8192u: ieee80211: ieee80211_softmac: mark symbols static where possible · 3590e78a
      Baoyou Xie authored
      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: default avatarBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3590e78a
    • Baoyou Xie's avatar
      staging: android: ion: mark symbols static where possible · 252a2560
      Baoyou Xie authored
      We get 4 warnings when building kernel with W=1:
      drivers/staging/android/ion/ion_carveout_heap.c:36:17: warning: no previous prototype for 'ion_carveout_allocate' [-Wmissing-prototypes]
      drivers/staging/android/ion/ion_carveout_heap.c:50:6: warning: no previous prototype for 'ion_carveout_free' [-Wmissing-prototypes]
      drivers/staging/android/ion/ion_of.c:28:5: warning: no previous prototype for 'ion_parse_dt_heap_common' [-Wmissing-prototypes]
      drivers/staging/android/ion/ion_of.c:54:5: warning: no previous prototype for 'ion_setup_heap_common' [-Wmissing-prototypes]
      
      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: default avatarBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      252a2560
    • Christian Gromm's avatar
      staging: most: aim-cdev: make syscall write accept buffers of arbitrary size · da2c0871
      Christian Gromm authored
      This patch allows to call the write() function for synchronous and
      isochronous channels with buffers of any size. The AIM simply waits for
      data to fill up the MOST buffer object according to the network interface
      controller specification for streaming channels, before it submits the
      buffer to the HDM.
      
      The new behavior is backward compatible to the old applications, since
      all known applications needed to fill the buffer completely anyway.
      Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      da2c0871
    • sayli karnik's avatar
      staging: greybus: Use setup_timer function · 82af03f7
      sayli karnik authored
      This patch uses setup_timer function instead of initializing timer with the
      function and data fields.
      Signed-off-by: default avatarsayli karnik <karniksayli1995@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      82af03f7