The set removes useless global bnad_list as well as bnad->entry that track a list of driver instances but it is not used anywhere. The associated bnad_list_mutex is removed as well but as it is also used to protect bna_id increment it is necessary to convert bna_id to atomic_t.
Signed-off-by: Ivan Vecera <ivec...@redhat.com> drivers/net/ethernet/brocade/bna/bnad.c | 27 ++------------------------- drivers/net/ethernet/brocade/bna/bnad.h | 1 - 2 files changed, 2 insertions(+), 26 deletions(-) -- 2.7.3