Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45393
b: refs/heads/master
c: ab3b1c7
h: refs/heads/master
i:
  45391: 4073421
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Jan 9, 2007
1 parent 9969e10 commit d9b89b1
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: 45d2530167027e96686a1b6a7892c55af1f516f5
refs/heads/master: ab3b1c7e82fe6094a07baa5d2cb0138c4cb40fcb
5 changes: 3 additions & 2 deletions trunk/drivers/net/chelsio/my3126.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,10 @@ static struct cphy *my3126_phy_create(adapter_t *adapter,
{
struct cphy *cphy = kzalloc(sizeof (*cphy), GFP_KERNEL);

if (cphy)
cphy_init(cphy, adapter, phy_addr, &my3126_ops, mdio_ops);
if (!cphy)
return NULL;

cphy_init(cphy, adapter, phy_addr, &my3126_ops, mdio_ops);
INIT_DELAYED_WORK(&cphy->phy_update, my3216_poll);
cphy->bmsr = 0;

Expand Down

0 comments on commit d9b89b1

Please sign in to comment.