diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-05-27 17:09:45 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-05-27 17:09:45 +0000 |
commit | 11d6be39a6a8a43de3cde49f294c38819bfd248a (patch) | |
tree | 1f67966503f067a4014a4793876eb66d61ab0c9a /target/linux/generic/files | |
parent | 63d3e3114d13706b56c3e1aea35a346bb3cb6878 (diff) |
generic: rtl8366_smi: remove duplicated spinlock initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31916 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366_smi.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |