Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 237494
b: refs/heads/master
c: 4ec952b
h: refs/heads/master
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Feb 28, 2011
1 parent 405ed88 commit 6969a88
Show file tree
Hide file tree
Showing 2 changed files with 4 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: a693e69897e7811e2790295f38a0ce3a92c4b45c
refs/heads/master: 4ec952b8ab636e87465ed78a1ca5fa5efe0d5e0f
5 changes: 3 additions & 2 deletions trunk/drivers/net/bonding/bonding.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ struct bonding {
*
* Caller must hold bond lock for read
*/
static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, struct net_device *slave_dev)
static inline struct slave *bond_get_slave_by_dev(struct bonding *bond,
struct net_device *slave_dev)
{
struct slave *slave = NULL;
int i;
Expand All @@ -280,7 +281,7 @@ static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, struct n
}
}

return 0;
return NULL;
}

static inline struct bonding *bond_get_bond_by_slave(struct slave *slave)
Expand Down

0 comments on commit 6969a88

Please sign in to comment.