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

SF Markus Elfring
2016-09-18T06:17:46Z

Date: Sat, 17 Sep 2016 22:27:52 +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 24725be..a0ccab3 100644
--- a/drivers/firewire/net.c
+++ b/drivers/firewire/net.c
@@ -1003,8 +1003,7 @@ static int fwnet_send_packet(struct fwnet_packet_task *ptask)
dec_queued_datagrams(dev);

spin_unlock_irqrestore(&dev->lock, flags);
-
- goto out;
+ goto check_free;
}

fw_send_request(dev->card, &ptask->transaction,
@@ -1024,7 +1023,7 @@ static int fwnet_send_packet(struct fwnet_packet_task *ptask)
spin_unlock_irqrestore(&dev->lock, flags);

netif_trans_update(dev->netdev);
- out:
+ check_free:
if (free)
fwnet_free_ptask(ptask);

--
2.10.0