mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 02:48:37 +02:00
ar71xx: fix return statement in the rtl8366 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19204 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7029e829c7
commit
f79dd5c840
@ -1731,7 +1731,7 @@ static int rtl8366_smi_switch_init(struct rtl8366_smi *smi)
|
||||
if (err)
|
||||
dev_err(&smi->pdev->dev, "switch registration failed\n");
|
||||
|
||||
return;
|
||||
return err;
|
||||
}
|
||||
|
||||
static void rtl8366_smi_switch_cleanup(struct rtl8366_smi *smi)
|
||||
|
Loading…
Reference in New Issue
Block a user