diff options
| author | Michal Schmidt <mschmidt@redhat.com> | 2015-12-04 17:22:36 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-12-05 19:00:03 -0500 |
| commit | 44c33c66310c76979649b7c0004af7744bd4ce7a (patch) | |
| tree | bc6221bc1d98708f8c6f7ad387d8077c91a761f7 /net/unix/af_unix.c | |
| parent | 9adab1b036b3b95edffdfe7835133b2a20eb7473 (diff) | |
bnx2x: simplify distinction between port and func stats
The 'flags' field in bnx2x_stats_arr[] serves only one purpose - to tell
us if the statistic is a per-port stat and thus should not be shown for
virtual functions. It's strange that the field can have three different
values. A boolean will do just fine.
Also remove IS_FUNC_STAT(). It was used only once and it's in fact just
a negation of IS_PORT_STAT().
Signed-off-by: Michal Schmidt <mschmidt@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
