aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-27 17:09:45 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-27 17:09:45 +0000
commite4f7489ec15f86110cb60a39ef3591c6f77ede50 (patch)
tree1f67966503f067a4014a4793876eb66d61ab0c9a
parentd89221e9ceebe1de731199bafd544886cccf88ab (diff)
downloadupstream-e4f7489ec15f86110cb60a39ef3591c6f77ede50.tar.gz
upstream-e4f7489ec15f86110cb60a39ef3591c6f77ede50.tar.bz2
upstream-e4f7489ec15f86110cb60a39ef3591c6f77ede50.zip
generic: rtl8366_smi: remove duplicated spinlock initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31916 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic/files/drivers/net/phy/rtl8366_smi.c2
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);