[PATCH 08/10] firewire-net: Rename a jump label in fwnet_finish_incoming_packet()
From: SF Markus Elfring
Date: Sun Sep 18 2016 - 02:20:47 EST
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxxx>
---
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