[PATCH 08/10] firewire-net: Rename a jump label in fwnet_finish_incoming_packet()

SF Markus Elfring
2016-09-18T06:20:41Z

Date: Sat, 17 Sep 2016 22:40:05 +0200

Adjust a jump label according to the current Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/firewire/net.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c
index 7e802e7..6dd3174 100644
--- a/drivers/firewire/net.c
+++ b/drivers/firewire/net.c
@@ -495,7 +495,7 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
#endif
break;
default:
- goto err;
+ goto increment_counter;
}

dev = netdev_priv(net);
@@ -551,8 +551,7 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
}

return 0;
-
- err:
+ increment_counter:
net->stats.rx_errors++;
net->stats.rx_dropped++;

--
2.10.0