• Colin Ian King's avatar
    iwlegacy: remove several redundant variables · 454127ad
    Colin Ian King authored
    Variables id, unicast, write, conf, a_band, accum_tx and ucode are
    assigned a value but it is never read, hence they are redundant and
    can be removed.
    
    Cleans up clang warnings:
    warning: variable 'id' set but not used [-Wunused-but-set-variable]
    warning: variable 'unicast' set but not used [-Wunused-but-set-variable]
    warning: variable 'write' set but not used [-Wunused-but-set-variable]
    warning: variable 'conf' set but not used [-Wunused-but-set-variable]
    warning: variable 'a_band' set but not used [-Wunused-but-set-variable]
    warning: variable 'tx' set but not used [-Wunused-but-set-variable]
    warning: variable 'accum_tx' set but not used [-Wunused-but-set-variable]
    warning: variable 'ucode' set but not used [-Wunused-but-set-variable]
    Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
    Acked-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    454127ad
3945.c 75.7 KB