public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Zhenguo Zhao <Zhenguo.Zhao1@unisoc.com>
Cc: Jiri Slaby <jirislaby@kernel.org>,
	linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: [PATCH] tty: n_gsm: clean up indenting in gsm_queue()
Date: Mon, 4 Oct 2021 13:43:43 +0300	[thread overview]
Message-ID: <20211004104343.GF25015@kili> (raw)

These two lines need to be indented one more tab.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 drivers/tty/n_gsm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c
index 157b51ce9cc0..3bbfcccd79d3 100644
--- a/drivers/tty/n_gsm.c
+++ b/drivers/tty/n_gsm.c
@@ -1854,8 +1854,8 @@ static void gsm_queue(struct gsm_mux *gsm)
 				if (address_tmp == address) {
 					for (k = j; k < addr_cnt; k++)
 						addr_open[k] = addr_open[k+1];
-				addr_cnt--;
-				break;
+					addr_cnt--;
+					break;
 				}
 			}
 		}
-- 
2.20.1


             reply	other threads:[~2021-10-04 10:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 10:43 Dan Carpenter [this message]
2021-10-06  5:52 ` [PATCH] tty: n_gsm: clean up indenting in gsm_queue() Jiri Slaby

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=20211004104343.GF25015@kili \
    --to=dan.carpenter@oracle.com \
    --cc=Zhenguo.Zhao1@unisoc.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jirislaby@kernel.org \
    --cc=kernel-janitors@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox