aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/vsc8244.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/chelsio/vsc8244.c')
-rw-r--r--drivers/net/chelsio/vsc8244.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/chelsio/vsc8244.c b/drivers/net/chelsio/vsc8244.c
index c493e783d459..f947cf6059b1 100644
--- a/drivers/net/chelsio/vsc8244.c
+++ b/drivers/net/chelsio/vsc8244.c
@@ -347,7 +347,8 @@ static struct cphy* vsc8244_phy_create(adapter_t *adapter, int phy_addr, struct
347{ 347{
348 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); 348 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL);
349 349
350 if (!cphy) return NULL; 350 if (!cphy)
351 return NULL;
351 352
352 cphy_init(cphy, adapter, phy_addr, &vsc8244_ops, mdio_ops); 353 cphy_init(cphy, adapter, phy_addr, &vsc8244_ops, mdio_ops);
353 354