ice: Remove unnecessary braces
authorAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tue, 19 Feb 2019 23:04:08 +0000 (15:04 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 26 Mar 2019 22:13:39 +0000 (15:13 -0700)
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>
drivers/net/ethernet/intel/ice/ice_txrx.c

index 9a80e9ec3f10242d64254ca0c3d23915f0c17077..f2462799154a0e65acfb2d34794591c50944f567 100644 (file)
@@ -968,9 +968,8 @@ static void
 ice_receive_skb(struct ice_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag)
 {
        if ((rx_ring->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
-           (vlan_tag & VLAN_VID_MASK)) {
+           (vlan_tag & VLAN_VID_MASK))
                __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag);
-       }
        napi_gro_receive(&rx_ring->q_vector->napi, skb);
 }