summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/aeroflex
diff options
context:
space:
mode:
authorDaniel Pieczko <dpieczko@solarflare.com>2015-06-02 10:40:05 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-06-02 19:57:29 (GMT)
commitd94619cdfc561eee18e2d40ab6563e3f2f072fdd (patch)
tree70226ecbdcf7e06907621d5ea4d9ff2bf181543c /drivers/net/ethernet/aeroflex
parent6dd4859b281700a163caec8ae7826c2558290127 (diff)
downloadlinux-d94619cdfc561eee18e2d40ab6563e3f2f072fdd.tar.xz
sfc: suppress vadaptor stats when EVB is not present
The raw_mask array is not initialised, so it needs to be explicitly set to zero in the 'else' branch. If the EVB capability is not present, a port cannot have multiple functions so the per-port MAC stats are correct and should match the corresponding vadaptor stats, so this redundancy can be removed from the ethtool stats output. Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aeroflex')
0 files changed, 0 insertions, 0 deletions