cxgb4: remove the name field from the adapter structure
authorDimitris Michailidis <dm@chelsio.com>
Tue, 14 Dec 2010 21:36:51 +0000 (21:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2010 21:16:02 +0000 (13:16 -0800)
commitb1a3c2b698ec333edc86bf8b5a636162ca309870
treed3d6c15741571760a264248ae76a72cb84accdb2
parentba27816cd8167c64652406d86ca78bcc5989f20f
cxgb4: remove the name field from the adapter structure

Remove a field the driver uses to keep track of the name of the first
netdev it manages to register.  Do this by changing the registration
loop to stop the first time it fails so the first registered device is
trivial to tell.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4.h
drivers/net/cxgb4/cxgb4_main.c