• YueHaibing's avatar
    qed: Remove set but not used variable 'p_archipelago' · 470b9254
    YueHaibing authored
    Fixes gcc '-Wunused-but-set-variable' warning:
    
    drivers/net/ethernet/qlogic/qed/qed_ooo.c: In function 'qed_ooo_delete_isles':
    drivers/net/ethernet/qlogic/qed/qed_ooo.c:354:30: warning:
     variable 'p_archipelago' set but not used [-Wunused-but-set-variable]
    
    drivers/net/ethernet/qlogic/qed/qed_ooo.c: In function 'qed_ooo_join_isles':
    drivers/net/ethernet/qlogic/qed/qed_ooo.c:463:30: warning:
     variable 'p_archipelago' set but not used [-Wunused-but-set-variable]
    
    Since commit 1eec2437 ("qed: Make OOO archipelagos into an array"),
    'p_archipelago' is no longer in use.
    Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    470b9254
qed_ooo.c 13.4 KB