netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] bna: remove useless global variables
@ 2016-07-29 17:52 Ivan Vecera
  2016-07-29 17:52 ` [PATCH net-next 1/3] bna: remove useless linked list Ivan Vecera
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ivan Vecera @ 2016-07-29 17:52 UTC (permalink / raw)
  To: netdev; +Cc: rasesh.mody

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 <ivecera@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-08-01 15:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-29 17:52 [PATCH net-next 0/3] bna: remove useless global variables Ivan Vecera
2016-07-29 17:52 ` [PATCH net-next 1/3] bna: remove useless linked list Ivan Vecera
2016-07-29 17:52 ` [PATCH net-next 2/3] bna: change type of bna_id to atomic_t Ivan Vecera
2016-08-01 14:20   ` David Laight
2016-08-01 15:11     ` Ivan Vecera
2016-07-29 17:52 ` [PATCH net-next 3/3] bna: remove global bnad_list_mutex Ivan Vecera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).