diff options
author | Dmitry Kravkov <[email protected]> | 2014-09-17 16:24:36 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-09-19 16:31:08 -0400 |
commit | 2e98ffc21cacb170c2d2c01d110ed53fedb95768 (patch) | |
tree | b7fa954dbcedc99c928d8d947b97e2aecf564b26 /net/lapb/lapb_subr.c | |
parent | 77f4f6220a98f4f3eb08be10230d7e8c604aa2b8 (diff) |
bnx2x: Changes with storage & MAC macros
Rearrange macros to query for storage-only modes in different MF environment.
Improves the readibility and maintainability of the code. E.g.:
- if (IS_MF_STORAGE_SD(bp) || IS_MF_FCOE_AFEX(bp))
+ if (IS_MF_STORAGE_ONLY(bp))
In addition, this removes the need for bnx2x_is_valid_ether_addr().
Signed-off-by: Dmitry Kravkov <[email protected]>
Signed-off-by: Yuval Mintz <[email protected]>
Signed-off-by: Ariel Elior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions