i40e: whitespace fixes
Fix some whitespace and comment issues. Change-ID: I1587599e50ce66fd389965720e86f9e331d86643 Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Signed-off-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d419499678
commit
6838b535e1
|
@ -93,7 +93,6 @@
|
|||
#define I40E_CURRENT_NVM_VERSION_HI 0x2
|
||||
#define I40E_CURRENT_NVM_VERSION_LO 0x30
|
||||
|
||||
|
||||
/* magic for getting defines into strings */
|
||||
#define STRINGIFY(foo) #foo
|
||||
#define XSTRINGIFY(bar) STRINGIFY(bar)
|
||||
|
|
|
@ -162,7 +162,6 @@ i40e_status i40e_aq_queue_shutdown(struct i40e_hw *hw,
|
|||
return status;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* i40e_init_shared_code - Initialize the shared code
|
||||
* @hw: pointer to hardware structure
|
||||
|
|
|
@ -356,7 +356,6 @@ static struct rtnl_link_stats64 *i40e_get_netdev_stats_struct(
|
|||
struct rtnl_link_stats64 *vsi_stats = i40e_get_vsi_stats_struct(vsi);
|
||||
int i;
|
||||
|
||||
|
||||
if (test_bit(__I40E_DOWN, &vsi->state))
|
||||
return stats;
|
||||
|
||||
|
|
|
@ -977,8 +977,8 @@ static int i40e_clean_rx_irq(struct i40e_ring *rx_ring, int budget)
|
|||
|
||||
rx_desc = I40E_RX_DESC(rx_ring, i);
|
||||
qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len);
|
||||
rx_status = (qword & I40E_RXD_QW1_STATUS_MASK)
|
||||
>> I40E_RXD_QW1_STATUS_SHIFT;
|
||||
rx_status = (qword & I40E_RXD_QW1_STATUS_MASK) >>
|
||||
I40E_RXD_QW1_STATUS_SHIFT;
|
||||
|
||||
while (rx_status & (1 << I40E_RX_DESC_STATUS_DD_SHIFT)) {
|
||||
union i40e_rx_desc *next_rxd;
|
||||
|
|
Loading…
Reference in New Issue