]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05c9f2938201f2197395526806425514a62c7a12
treed3d6c15741571760a264248ae76a72cb84accdb2
parentb7853a26313778be7bb06adbe51d27449a452bb1
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