net: mvpp2: Rename a jump label in mvpp2_txq_init()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 17 Apr 2017 10:58:33 +0000 (12:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Apr 2017 17:55:09 +0000 (13:55 -0400)
Adjust jump labels according to the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c

index 8f4348316d2833b575f3e63855644c852608c890..a5cd1036012af4f24abb4bd218cac3eb4af75907 100644 (file)
@@ -5087,7 +5087,7 @@ static int mvpp2_txq_init(struct mvpp2_port *port,
                                                sizeof(*txq_pcpu->buffs),
                                                GFP_KERNEL);
                if (!txq_pcpu->buffs)
-                       goto error;
+                       goto cleanup;
 
                txq_pcpu->count = 0;
                txq_pcpu->reserved_num = 0;
@@ -5096,8 +5096,7 @@ static int mvpp2_txq_init(struct mvpp2_port *port,
        }
 
        return 0;
-
-error:
+cleanup:
        for_each_present_cpu(cpu) {
                txq_pcpu = per_cpu_ptr(txq->pcpu, cpu);
                kfree(txq_pcpu->buffs);