* [PATCH] drivers: thunderbolt: Coding Style Fix - Put for loop brace on same line
@ 2015-12-17 14:27 Benjamin Young
0 siblings, 0 replies; only message in thread
From: Benjamin Young @ 2015-12-17 14:27 UTC (permalink / raw)
To: andreas.noever; +Cc: linux-kernel, Benjamin Young
Made code more standard by fixing issue with _for_ loops not putting
braces on the next line.
Signed-off-by: Benjamin Young <youngcdev@gmail.com>
---
drivers/thunderbolt/tb.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c
index d2c3fe3..7bce491 100644
--- a/drivers/thunderbolt/tb.c
+++ b/drivers/thunderbolt/tb.c
@@ -64,8 +64,7 @@ static void tb_free_invalid_tunnels(struct tb *tb)
{
struct tb_pci_tunnel *tunnel;
struct tb_pci_tunnel *n;
- list_for_each_entry_safe(tunnel, n, &tb->tunnel_list, list)
- {
+ list_for_each_entry_safe(tunnel, n, &tb->tunnel_list, list) {
if (tb_pci_is_invalid(tunnel)) {
tb_pci_deactivate(tunnel);
tb_pci_free(tunnel);
--
2.5.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-17 14:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-17 14:27 [PATCH] drivers: thunderbolt: Coding Style Fix - Put for loop brace on same line Benjamin Young
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox