Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112179
b: refs/heads/master
c: e824b3e
h: refs/heads/master
i:
  112177: 4da9aa0
  112175: e29454e
v: v3
  • Loading branch information
Wang Chen authored and David S. Miller committed Oct 8, 2008
1 parent 0df0712 commit 70e3637
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9ac1353f3832716eb25268c0cd06c93080a83c7b
refs/heads/master: e824b3eb4acad16c64c9ddf8e63b63e2469259b0
4 changes: 2 additions & 2 deletions trunk/drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ static int skge_set_ring_param(struct net_device *dev,
struct ethtool_ringparam *p)
{
struct skge_port *skge = netdev_priv(dev);
int err;
int err = 0;

if (p->rx_pending == 0 || p->rx_pending > MAX_RX_RING_SIZE ||
p->tx_pending < TX_LOW_WATER || p->tx_pending > MAX_TX_RING_SIZE)
Expand All @@ -517,7 +517,7 @@ static int skge_set_ring_param(struct net_device *dev,
dev_close(dev);
}

return 0;
return err;
}

static u32 skge_get_msglevel(struct net_device *netdev)
Expand Down

0 comments on commit 70e3637

Please sign in to comment.