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 9e1be1a..05ceefd 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",