ixgbevf: clean up some inconsistent indenting
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 8 Feb 2022 01:35:07 +0000 (09:35 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 23 Feb 2022 17:55:38 +0000 (09:55 -0800)
Eliminate the follow smatch warning:
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:2756
ixgbevf_alloc_q_vector() warn: inconsistent indenting

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c

index 17fbc45..84222ec 100644 (file)
@@ -2753,7 +2753,7 @@ static int ixgbevf_alloc_q_vector(struct ixgbevf_adapter *adapter, int v_idx,
                ring->reg_idx = reg_idx;
 
                /* assign ring to adapter */
-                adapter->tx_ring[txr_idx] = ring;
+               adapter->tx_ring[txr_idx] = ring;
 
                /* update count and index */
                txr_count--;