From: Joe Perches <joe@perches.com>
To: Tobias Klauser <tklauser@distanz.ch>, netdev@vger.kernel.org
Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com
Subject: Re: [PATCH] net: hip04: Omit private ndo_get_stats function
Date: Wed, 15 Feb 2017 02:28:08 -0800 [thread overview]
Message-ID: <1487154488.6214.53.camel@perches.com> (raw)
In-Reply-To: <20170214141006.11510-1-tklauser@distanz.ch>
On Tue, 2017-02-14 at 15:10 +0100, Tobias Klauser wrote:
> hip04_get_stats() just returns dev->stats so we can leave it
> out altogether and let dev_get_stats() do the job.
This could be done for at least a few more drivers:
drivers/net/ethernet/chelsio/cxgb/sge.c
drivers/net/ethernet/intel/e1000/e1000_main.c
drivers/net/ethernet/intel/ixgb/ixgb_main.c
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
next prev parent reply other threads:[~2017-02-15 10:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-14 14:10 [PATCH] net: hip04: Omit private ndo_get_stats function Tobias Klauser
2017-02-14 20:03 ` David Miller
2017-02-15 10:28 ` Joe Perches [this message]
2017-02-15 10:38 ` Tobias Klauser
2017-02-15 10:51 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1487154488.6214.53.camel@perches.com \
--to=joe@perches.com \
--cc=netdev@vger.kernel.org \
--cc=salil.mehta@huawei.com \
--cc=tklauser@distanz.ch \
--cc=yisen.zhuang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox