Commit f9fd0e34 authored by Markus Elfring's avatar Markus Elfring Committed by David S. Miller
Browse files

net: mvpp2: Rename a jump label in mvpp2_prs_vlan_add()



Adjust jump labels according to the Linux coding style convention.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c9a7e120
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -2021,7 +2021,7 @@ static int mvpp2_prs_vlan_add(struct mvpp2 *priv, unsigned short tpid, int ai,


		if (tid <= tid_aux) {
		if (tid <= tid_aux) {
			ret = -EINVAL;
			ret = -EINVAL;
			goto error;
			goto free_pe;
		}
		}


		memset(pe, 0, sizeof(*pe));
		memset(pe, 0, sizeof(*pe));
@@ -2053,8 +2053,7 @@ static int mvpp2_prs_vlan_add(struct mvpp2 *priv, unsigned short tpid, int ai,
	mvpp2_prs_tcam_port_map_set(pe, port_map);
	mvpp2_prs_tcam_port_map_set(pe, port_map);


	mvpp2_prs_hw_write(priv, pe);
	mvpp2_prs_hw_write(priv, pe);

free_pe:
error:
	kfree(pe);
	kfree(pe);


	return ret;
	return ret;