From: Ben Hutchings Date: Thu, 3 Sep 2009 10:39:43 +0000 (+0000) Subject: netdev: Remove redundant checks for CAP_NET_ADMIN in MDIO implementations X-Git-Tag: v2.6.32-rc1~703^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ab0f2736bfe137a82a7084bbfb5f809da95cabd;p=pandora-kernel.git netdev: Remove redundant checks for CAP_NET_ADMIN in MDIO implementations dev_ioctl() already checks capable(CAP_NET_ADMIN) before calling the driver's implementation of MDIO ioctls. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed