mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 07:48:59 +02:00
generic: rtl8366_smi: remove duplicated spinlock initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31916 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
63d3e3114d
commit
11d6be39a6
@ -1291,8 +1291,6 @@ int rtl8366_smi_init(struct rtl8366_smi *smi)
|
||||
if (err)
|
||||
goto err_out;
|
||||
|
||||
spin_lock_init(&smi->lock);
|
||||
|
||||
dev_info(smi->parent, "using GPIO pins %u (SDA) and %u (SCK)\n",
|
||||
smi->gpio_sda, smi->gpio_sck);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user