Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290210
b: refs/heads/master
c: 56ad315
h: refs/heads/master
v: v3
  • Loading branch information
Michal Schmidt authored and David S. Miller committed Feb 20, 2012
1 parent c6f0fce commit 054d7b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 32efe08d77f5902ce7315fc9003c010ffffb8268
refs/heads/master: 56ad315250bec1cd239c18712e072d1ff1f4aaf3
2 changes: 0 additions & 2 deletions trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
Original file line number Diff line number Diff line change
Expand Up @@ -2078,8 +2078,6 @@ static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms,
#define BNX2X_VPD_LEN 128
#define VENDOR_ID_LEN 4

int bnx2x_close(struct net_device *dev);

/* Congestion management fairness mode */
#define CMNG_FNS_NONE 0
#define CMNG_FNS_MINMAX 1
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8711,6 +8711,8 @@ static void bnx2x_parity_recover(struct bnx2x *bp)
}
}

static int bnx2x_close(struct net_device *dev);

/* bnx2x_nic_unload() flushes the bnx2x_wq, thus reset task is
* scheduled on a general queue in order to prevent a dead lock.
*/
Expand Down Expand Up @@ -10288,7 +10290,7 @@ static int bnx2x_open(struct net_device *dev)
}

/* called with rtnl_lock */
int bnx2x_close(struct net_device *dev)
static int bnx2x_close(struct net_device *dev)
{
struct bnx2x *bp = netdev_priv(dev);

Expand Down

0 comments on commit 054d7b5

Please sign in to comment.