Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289806
b: refs/heads/master
c: b249513
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings committed Jan 27, 2012
1 parent 310df0a commit 577d836
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 94813b86bf1981338de0a6e2ab50be3b4366f3bd
refs/heads/master: b249513e8ba3ca8bc2c87e78eb6e302d5d8abd6f
9 changes: 0 additions & 9 deletions trunk/drivers/net/ethernet/sfc/net_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -791,15 +791,6 @@ static inline int efx_dev_registered(struct efx_nic *efx)
return efx->net_dev->reg_state == NETREG_REGISTERED;
}

/* Net device name, for inclusion in log messages if it has been registered.
* Use efx->name not efx->net_dev->name so that races with (un)registration
* are harmless.
*/
static inline const char *efx_dev_name(struct efx_nic *efx)
{
return efx_dev_registered(efx) ? efx->name : "";
}

static inline unsigned int efx_port_num(struct efx_nic *efx)
{
return efx->net_dev->dev_id;
Expand Down

0 comments on commit 577d836

Please sign in to comment.