diff options
| author | Jiri Pirko <jiri@resnulli.us> | 2013-01-07 09:02:08 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-01-07 19:54:19 -0800 |
| commit | c03a14e8db06d6687f470f9769f47aa5764b1fe3 (patch) | |
| tree | ef31d964177270e7e2b9c5201421425d458b16f1 /net/unix/af_unix.c | |
| parent | 6411280ac94db94a09770807d3871d2661803604 (diff) | |
| download | olio-linux-3.10-c03a14e8db06d6687f470f9769f47aa5764b1fe3.tar.xz olio-linux-3.10-c03a14e8db06d6687f470f9769f47aa5764b1fe3.zip | |
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 <jiri@resnulli.us>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Reviewed-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions