aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_switch.c
diff options
context:
space:
mode:
authorJesse Brandeburg <[email protected]>2019-04-16 10:24:35 -0700
committerJeff Kirsher <[email protected]>2019-05-23 10:51:54 -0700
commit0ab54c5f2fe8929d04d965bc3e05325e37de45ba (patch)
treef3fb7568d5ab22cd7396a8bfbd03387d1e611af3 /drivers/net/ethernet/intel/ice/ice_switch.c
parent65124bbf980c6256e3385e7d002a5db102d30d3a (diff)
ice: Use bitfields when possible
We can use bit fields to store boolean values and when the bit fields are next to each other, the compiler will combine them (as long as the size holds enough). Signed-off-by: Jesse Brandeburg <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_switch.c')
0 files changed, 0 insertions, 0 deletions