kernel/oce: Remove some redundant code.
authorSascha Wildner <saw@online.de>
Tue, 10 Jun 2014 13:43:49 +0000 (15:43 +0200)
committerSascha Wildner <saw@online.de>
Tue, 10 Jun 2014 13:43:49 +0000 (15:43 +0200)
sys/dev/netif/oce/oce_sysctl.c

index 3acea91..3c3b597 100644 (file)
@@ -1339,9 +1339,5 @@ oce_sysctl_sfp_vpd_dump(SYSCTL_HANDLER_ARGS)
        if(rc)
                return rc;
 
-       rc = oce_mbox_read_transrecv_data(sc, PAGE_NUM_A2);
-       if(rc)
-               return rc;
-
-       return rc;
+       return oce_mbox_read_transrecv_data(sc, PAGE_NUM_A2);
 }