git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/video/msm: update to new kernel
[safe/jmp/linux-2.6]
/
drivers
/
net
/
yellowfin.c
diff --git
a/drivers/net/yellowfin.c
b/drivers/net/yellowfin.c
index
4987040
..
40ad0de
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) {