Skip to content
Snippets Groups Projects
Commit 58598542 authored by David S. Miller's avatar David S. Miller
Browse files

bna: Fix set-but-unused variables.


The variable 'pgoff' is set but unused in bfa_nw_ioc_fwver_get()
and bfa_ioc_download_fw().

Similarly for 'cmd_h' in bna_mbox_flush_q and the entirety of
bna_rit_mod_uninit() is unused since variables are purely set but no
action is made using them.

Same for 'bna' in bna_rit_create() and 'ret' in bna_rx_create().

Just kill them off.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 81b424d9
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment