bnx2: In bnx2_set_mac_link() return void rather then int
[deliverable/linux.git] / drivers / net / bnx2.c
index 2486a656f12d9f47ff27ead587e084a3c337a1a3..192a24ee3e66371f2f29d1bdf8810e71d9609083 100644 (file)
@@ -1127,7 +1127,7 @@ bnx2_init_all_rx_contexts(struct bnx2 *bp)
        }
 }
 
-static int
+static void
 bnx2_set_mac_link(struct bnx2 *bp)
 {
        u32 val;
@@ -1193,8 +1193,6 @@ bnx2_set_mac_link(struct bnx2 *bp)
 
        if (CHIP_NUM(bp) == CHIP_NUM_5709)
                bnx2_init_all_rx_contexts(bp);
-
-       return 0;
 }
 
 static void
This page took 0.042067 seconds and 5 git commands to generate.