Files
linux/drivers/net/ethernet
Alexander Lobakin 27ffa273a0 ice: switch: unobscurify bitops loop in ice_fill_adv_dummy_packet()
A loop performing header modification according to the provided mask
in ice_fill_adv_dummy_packet() is very cryptic (and error-prone).
Replace two identical cast-deferences with a variable. Replace three
struct-member-array-accesses with a variable. Invert the condition,
reduce the indentation by one -> eliminate line wraps.

Signed-off-by: Alexander Lobakin <alexandr.lobakin@intel.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Marcin Szycik <marcin.szycik@linux.intel.com>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-04-07 08:20:10 -07:00
..
2022-02-07 19:53:38 -08:00
2022-01-09 16:52:18 -08:00
2022-03-04 12:02:19 +00:00
2022-01-09 16:52:18 -08:00
2022-03-04 12:02:19 +00:00
2022-02-11 14:39:08 -08:00
2022-01-09 16:52:18 -08:00
2022-03-04 12:02:19 +00:00
2022-03-04 12:02:19 +00:00
2022-02-12 18:20:04 +01:00