mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-10 08:39:34 +00:00
ar71xx: fix return statement in the rtl8366 driver
SVN-Revision: 19204
This commit is contained in:
parent
c15a8f3b93
commit
8394a32815
@ -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