diff options
author | Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> | 2019-02-19 18:04:08 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-03-26 18:13:39 -0400 |
commit | ac4667551ea56ccd11af8169427bc89874cfade1 (patch) | |
tree | 8a77739f2585c1e10d2c4939b870f5bb050e572c /drivers/net/ethernet/intel/ice/ice_txrx.c | |
parent | 10c7e4c5fca7f7bb94df63ab36d552231787fde5 (diff) |
ice: Remove unnecessary braces
Single statement if conditions don't need braces. Remove it.
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
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, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_txrx.c b/drivers/net/ethernet/intel/ice/ice_txrx.c index 9a80e9ec3f10..f2462799154a 100644 --- a/drivers/net/ethernet/intel/ice/ice_txrx.c +++ b/drivers/net/ethernet/intel/ice/ice_txrx.c | |||
@@ -968,9 +968,8 @@ static void | |||
968 | ice_receive_skb(struct ice_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag) | 968 | ice_receive_skb(struct ice_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag) |
969 | { | 969 | { |
970 | if ((rx_ring->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && | 970 | if ((rx_ring->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && |
971 | (vlan_tag & VLAN_VID_MASK)) { | 971 | (vlan_tag & VLAN_VID_MASK)) |
972 | __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); | 972 | __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); |
973 | } | ||
974 | napi_gro_receive(&rx_ring->q_vector->napi, skb); | 973 | napi_gro_receive(&rx_ring->q_vector->napi, skb); |
975 | } | 974 | } |
976 | 975 | ||