Re: [PATCH] tty: n_gsm: clean up indenting in gsm_queue()

From: Jiri Slaby
Date: Wed Oct 06 2021 - 01:52:10 EST


On 04. 10. 21, 12:43, Dan Carpenter wrote:
These two lines need to be indented one more tab.

Right, the indentation is incorrect (and not the closing brace).

Reviewed-by: Jiri Slaby <jirislaby@xxxxxxxxxx>

Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
---
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;
}
}
}



--
js
suse labs