projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: et131x: config is already zeroed
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
net
/
mdio.c
diff --git
a/drivers/net/mdio.c
b/drivers/net/mdio.c
index 7d2e610f14ff4daf57eb1a175f6abefa99cae0a8..21f8754fcf4c128f6b4f6b4aee6678ff83f69bef 100644
(file)
--- a/
drivers/net/mdio.c
+++ b/
drivers/net/mdio.c
@@
-380,10
+380,7
@@
int mdio_mii_ioctl(const struct mdio_if_info *mdio,
cmd = SIOCGMIIREG;
break;
case SIOCGMIIREG:
- break;
case SIOCSMIIREG:
- if (!capable(CAP_NET_ADMIN))
- return -EPERM;
break;
default:
return -EOPNOTSUPP;