generic: rtl8366_smi: remove duplicated spinlock initialization
authorGabor Juhos <juhosg@openwrt.org>
Sun, 27 May 2012 17:09:45 +0000 (17:09 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 27 May 2012 17:09:45 +0000 (17:09 +0000)
SVN-Revision: 31916

target/linux/generic/files/drivers/net/phy/rtl8366_smi.c

index 7f5abd49ca5e29f9c60f5321d334d13c4f79bba3..ca8f788cab7377199ed408f3adff812d1ffa049f 100644 (file)
@@ -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);