From: Gabor Juhos Date: Sun, 27 May 2012 17:09:45 +0000 (+0000) Subject: generic: rtl8366_smi: remove duplicated spinlock initialization X-Git-Tag: reboot~13781 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=705d31203cc6a7d688866baf0993a61f349a5322;p=openwrt%2Fstaging%2Fchunkeey.git generic: rtl8366_smi: remove duplicated spinlock initialization SVN-Revision: 31916 --- diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c index 7f5abd49ca..ca8f788cab 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c @@ -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);