summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/cxgb4.h
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-12-14 21:36:51 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-16 13:16:02 -0800
commitb1a3c2b698ec333edc86bf8b5a636162ca309870 (patch)
treed3d6c15741571760a264248ae76a72cb84accdb2 /drivers/net/cxgb4/cxgb4.h
parentba27816cd8167c64652406d86ca78bcc5989f20f (diff)
downloadop-kernel-dev-b1a3c2b698ec333edc86bf8b5a636162ca309870.zip
op-kernel-dev-b1a3c2b698ec333edc86bf8b5a636162ca309870.tar.gz
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>
Diffstat (limited to 'drivers/net/cxgb4/cxgb4.h')
-rw-r--r--drivers/net/cxgb4/cxgb4.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/cxgb4/cxgb4.h b/drivers/net/cxgb4/cxgb4.h
index f3d9f64..9caf95f 100644
--- a/drivers/net/cxgb4/cxgb4.h
+++ b/drivers/net/cxgb4/cxgb4.h
@@ -486,7 +486,6 @@ struct adapter {
unsigned int fn;
unsigned int flags;
- const char *name;
int msg_enable;
struct adapter_params params;
OpenPOWER on IntegriCloud