From: Jiri Pirko Date: Mon, 7 Jan 2013 09:02:08 +0000 (+0000) Subject: ethtool: consolidate work with ethtool_ops X-Git-Tag: v3.9-rc1~139^2~439 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c03a14e8db06d6687f470f9769f47aa5764b1fe3;p=pandora-kernel.git ethtool: consolidate work with ethtool_ops No need to check if ethtool_ops == NULL since it can't be. Use local variable "ops" in functions where it is present instead of dev->ethtool_ops Introduce local variable "ops" in functions where dev->ethtool_ops is used many times. Signed-off-by: Jiri Pirko Reviewed-by: Ben Hutchings Reviewed-by: Flavio Leitner Signed-off-by: David S. Miller --- Reading git-diff-tree failed