firewire: fix failure path in ohci_enable_phys_dma
"goto out" happens with the lock taken.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index ea52e15..1b4b53d 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/drivers/firewire/fw-ohci.c
@@ -850,10 +850,8 @@
1 << (node_id - 32));
}
flush_writes(ohci);
-
- spin_unlock_irqrestore(&ohci->lock, flags);
-
out:
+ spin_unlock_irqrestore(&ohci->lock, flags);
return retval;
}