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
/
yellowfin.c
diff --git
a/drivers/net/yellowfin.c
b/drivers/net/yellowfin.c
index 4987040c414b258ccbec65fd43d4706d9a447998..40ad0dee0406a465bf3bcc15b5c120322e0f81c1 100644
(file)
--- a/
drivers/net/yellowfin.c
+++ b/
drivers/net/yellowfin.c
@@
-1365,8
+1365,6
@@
static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
return 0;
case SIOCSMIIREG: /* Write MII PHY register. */
- if (!capable(CAP_NET_ADMIN))
- return -EPERM;
if (data->phy_id == np->phys[0]) {
u16 value = data->val_in;
switch (data->reg_num) {