• Lee Jones's avatar
    cw1200: wsm: Remove 'dummy' variables · e2eb189e
    Lee Jones authored
    They're never read, so there is no reason for them to exist.
    
    They just cause the compiler to complain.
    
    Fixes the following W=1 kernel build warning(s):
    
     drivers/net/wireless/st/cw1200/wsm.c: In function ‘wsm_ba_timeout_indication’:
     drivers/net/wireless/st/cw1200/wsm.c:1033:5: warning: variable ‘dummy2’ set but not used [-Wunused-but-set-variable]
     drivers/net/wireless/st/cw1200/wsm.c:1031:6: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable]
    
    Cc: Solomon Peachy <pizza@shaftnet.org>
    Cc: Kalle Valo <kvalo@codeaurora.org>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Jakub Kicinski <kuba@kernel.org>
    Cc: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
    Cc: linux-wireless@vger.kernel.org
    Cc: netdev@vger.kernel.org
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    Link: https://lore.kernel.org/r/20200819072402.3085022-14-lee.jones@linaro.org
    e2eb189e
wsm.c 43.1 KB