mirror of https://github.com/hak5/openwrt-owl.git
generic: rtl8366_smi: remove duplicated spinlock initialization
SVN-Revision: 31916owl
parent
9217115687
commit
705d31203c
|
@ -1291,8 +1291,6 @@ int rtl8366_smi_init(struct rtl8366_smi *smi)
|
||||||
if (err)
|
if (err)
|
||||||
goto err_out;
|
goto err_out;
|
||||||
|
|
||||||
spin_lock_init(&smi->lock);
|
|
||||||
|
|
||||||
dev_info(smi->parent, "using GPIO pins %u (SDA) and %u (SCK)\n",
|
dev_info(smi->parent, "using GPIO pins %u (SDA) and %u (SCK)\n",
|
||||||
smi->gpio_sda, smi->gpio_sck);
|
smi->gpio_sda, smi->gpio_sck);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue