]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: remove error_param_int label from i40e_vc_config_promiscuous_mode_msg
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 25 Oct 2016 23:08:48 +0000 (16:08 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:41:07 +0000 (19:41 -0500)
commit2ee0388cbbf13ccf3b8116ee7844ecac11f92e91
tree015e6d0a394801d94d4d3f8f53acda9b82be8295
parent299260f03d09e4ec909345b43537bb89bed6d751
i40e: remove error_param_int label from i40e_vc_config_promiscuous_mode_msg

Orabug: 24568124

This label is unnecessary, as are jumping to a block that checks aq_ret
and then immediately skipping it and returning. So just jump straight to
the error_param and remove this unnecessary label.

Also use goto error_param even in the last check for style consistency.

Change-ID: If487c7d10c4048e37c594e5eca167693aaed45f6
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>
(cherry picked from commit 7429c0bd0155c73e0c6ec8f16e440735209d24a5)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c