netdev: Remove redundant checks for CAP_NET_ADMIN in MDIO implementations
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 3 Sep 2009 10:39:43 +0000 (10:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Sep 2009 03:02:11 +0000 (20:02 -0700)
dev_ioctl() already checks capable(CAP_NET_ADMIN) before calling the
driver's implementation of MDIO ioctls.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found