diff options
| author | Tony Nguyen <[email protected]> | 2022-11-23 16:56:27 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2023-01-19 16:18:03 +0000 |
| commit | df2a4c3f653088c20e7c998acbd959338631f1d8 (patch) | |
| tree | ae3826bb25e01f6bf41d4818a6e550f8260a69a1 /drivers/net/ethernet/intel/ice/ice_txrx.c | |
| parent | ice: combine cases in ice_ksettings_find_adv_link_speed() (diff) | |
| download | kernel-df2a4c3f653088c20e7c998acbd959338631f1d8.tar.gz kernel-df2a4c3f653088c20e7c998acbd959338631f1d8.zip | |
ice: Remove cppcheck suppressions
The use of suppressions for cppcheck in the kernel does not look to be
standard as the ice driver is the only one doing it. Remove the
comments/suppressions.
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_txrx.c')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_txrx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_txrx.c b/drivers/net/ethernet/intel/ice/ice_txrx.c index 086f0b3ab68d..ccf09c957a1c 100644 --- a/drivers/net/ethernet/intel/ice/ice_txrx.c +++ b/drivers/net/ethernet/intel/ice/ice_txrx.c @@ -1996,7 +1996,6 @@ int ice_tso(struct ice_tx_buf *first, struct ice_tx_offload_params *off) if (err < 0) return err; - /* cppcheck-suppress unreadVariable */ protocol = vlan_get_protocol(skb); if (eth_p_mpls(protocol)) @@ -2033,8 +2032,6 @@ int ice_tso(struct ice_tx_buf *first, struct ice_tx_offload_params *off) } /* reset pointers to inner headers */ - - /* cppcheck-suppress unreadVariable */ ip.hdr = skb_inner_network_header(skb); l4.hdr = skb_inner_transport_header(skb); |
