[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130107200656.GA2090@obelix.rh>
Date: Mon, 7 Jan 2013 18:06:56 -0200
From: Flavio Leitner <fbl@...hat.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
bhutchings@...arflare.com, richardcochran@...il.com,
greearb@...delatech.com, jeffrey.t.kirsher@...el.com
Subject: Re: [patch net-next v2] ethtool: consolidate work with ethtool_ops
On Mon, Jan 07, 2013 at 08:02:08PM +0100, Jiri Pirko wrote:
> 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@...nulli.us>
> ---
Reviewed-by: Flavio Leitner <fbl@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists