From: Benjamin Young <youngcdev@gmail.com>
To: andreas.noever@gmail.com
Cc: linux-kernel@vger.kernel.org, Benjamin Young <youngcdev@gmail.com>
Subject: [PATCH] drivers: thunderbolt: Coding Style Fix - Put for loop brace on same line
Date: Thu, 17 Dec 2015 06:27:59 -0800 [thread overview]
Message-ID: <1450362479-29079-1-git-send-email-youngcdev@gmail.com> (raw)
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
reply other threads:[~2015-12-17 14:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1450362479-29079-1-git-send-email-youngcdev@gmail.com \
--to=youngcdev@gmail.com \
--cc=andreas.noever@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.