diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-27 17:09:45 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-27 17:09:45 +0000 |
commit | 705d31203cc6a7d688866baf0993a61f349a5322 (patch) | |
tree | f44f34b51bd6e088bc48073dfe4aa882191ef1a7 /target/linux/generic/files | |
parent | 9217115687d4abf15e898b185da07cac883f5c82 (diff) | |
download | master-31e0f0ae-705d31203cc6a7d688866baf0993a61f349a5322.tar.gz master-31e0f0ae-705d31203cc6a7d688866baf0993a61f349a5322.tar.bz2 master-31e0f0ae-705d31203cc6a7d688866baf0993a61f349a5322.zip |
generic: rtl8366_smi: remove duplicated spinlock initialization
SVN-Revision: 31916
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); |