diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2017-03-10 12:22:04 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-03-29 02:15:06 -0700 |
commit | d9eaf12e853f8cd63633434fe9f753098012167f (patch) | |
tree | 91008e6a5b5a3ca5d0d7f4eb4db10b7cfa8d3362 /drivers/net/ethernet/intel/i40e/i40e.h | |
parent | 1fca3265be916f45bcdf4f0207bcc99d0f6c1b7d (diff) | |
download | op-kernel-dev-d9eaf12e853f8cd63633434fe9f753098012167f.zip op-kernel-dev-d9eaf12e853f8cd63633434fe9f753098012167f.tar.gz |
i40e: remove a useless goto statement
The goto found here for when in MFP mode is pointless. It jumps to the
end of a series of if blocks. However, right after this statement is
a closing '}' for this if block, which will result in the program flow
going to the exact same location as the goto statement indicates. Thus,
regardless of whether we are in MFP mode, the program flow will resume
from the same location.
This arose due to various refactoring which did not notice that this
goto became essentially a no-op.
To properly understand this diff you will need to view a larger context
than is given by default.
Change-ID: I088f73c3831aa5c4e2281380c7a3ce605594300c
Signed-off-by: Jacob Keller <jacob.e.keller@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/i40e/i40e.h')
0 files changed, 0 insertions, 0 deletions