• Jacob Keller's avatar
    i40e: remove a useless goto statement · d9eaf12e
    Jacob Keller authored
    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: default avatarJacob Keller <jacob.e.keller@intel.com>
    Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    d9eaf12e
i40e_main.c 325 KB