]> git.droids-corp.org - dpdk.git/commitdiff
net/qede/base: refactor return path
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 18 Mar 2017 06:53:33 +0000 (23:53 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:45 +0000 (18:59 +0200)
No need to return - base on return at end of function.

Fixes: 22d07d939c3c ("net/qede/base: update")
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_vf.c

index 9e1be1a0975622c105095386bbb2794f0b884793..05ceefd37da14a736ccc2e522bda3e6385dc5b47 100644 (file)
@@ -126,7 +126,6 @@ ecore_send_msg2pf(struct ecore_hwfn *p_hwfn,
                           "VF <-- PF Timeout [Type %d]\n",
                           p_req->first_tlv.tl.type);
                rc = ECORE_TIMEOUT;
-               return rc;
        } else {
                DP_VERBOSE(p_hwfn, ECORE_MSG_IOV,
                           "PF response: %d [Type %d]\n",