diff options
author | Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com> | 2014-07-09 07:46:10 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-07-16 13:57:12 -0700 |
commit | ec9a7db7f0438bc8ad69bc436cb3b3ed16642af9 (patch) | |
tree | 95a61a0bc9dbc3f04ff94f6bcb3b301d7ec23f4f /drivers/net/ethernet/intel/i40e/i40e_txrx.c | |
parent | 9ce34f023d6025af89087472f0327e0a81073167 (diff) | |
download | op-kernel-dev-ec9a7db7f0438bc8ad69bc436cb3b3ed16642af9.zip op-kernel-dev-ec9a7db7f0438bc8ad69bc436cb3b3ed16642af9.tar.gz |
i40e/i40evf: Clean up code
1. Remove some break statements that will never get touched.
2. Remove an extra space.
3. Remove a comment for a parameter that doesn't exist
4. Move the assignment of a variable up to get rid of an else case.
Change-ID: I308a4b5ec070b1f0601f13b041ba4375aaad4b06
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_txrx.c')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_txrx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_txrx.c b/drivers/net/ethernet/intel/i40e/i40e_txrx.c index 79489a8..989866a 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_txrx.c +++ b/drivers/net/ethernet/intel/i40e/i40e_txrx.c @@ -303,7 +303,6 @@ static int i40e_add_del_fdir_tcpv4(struct i40e_vsi *vsi, * a specific flow spec * @vsi: pointer to the targeted VSI * @fd_data: the flow director data required for the FDir descriptor - * @raw_packet: the pre-allocated packet buffer for FDir * @add: true adds a filter, false removes it * * Always returns -EOPNOTSUPP |