diff options
| author | Michael Chan <michael.chan@broadcom.com> | 2017-07-24 12:34:23 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-07-24 17:29:58 -0700 |
| commit | 5c8227d0d3b1eb1ad8f98d0b6dc619d70f2cfa04 (patch) | |
| tree | 7d6ff5464304d559b5f32601e80ff9318456f72c /scripts/patch-kernel | |
| parent | bnxt_en: Implement ndo_bridge_{get|set}link methods. (diff) | |
| download | linux-5c8227d0d3b1eb1ad8f98d0b6dc619d70f2cfa04.tar.gz linux-5c8227d0d3b1eb1ad8f98d0b6dc619d70f2cfa04.zip | |
bnxt_en: Add bnxt_get_num_stats() to centrally get the number of ethtool stats.
Instead of duplicating the logic multiple times. Also, it is unnecessary
to zero the buffer in .get_ethtool_stats() because it is already zeroed
by the caller.
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
