From: Ravi Kumar kairi <kumarkairiravi@gmail.com>
To: dpenkler@gmail.com
Cc: gregkh@linuxfoundation.org, kuba@kernel.org,
dan.carpenter@linaro.org, rmk+kernel@armlinux.org.uk,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Ravi Kumar Kairi <kumarkairiravi@gmail.com>
Subject: [PATCH v5 3/3] staging:gpib:agilent_82350b.c: removed braces from a single if statement
Date: Tue, 18 Feb 2025 01:20:50 +0530 [thread overview]
Message-ID: <20250217195050.117167-4-kumarkairiravi@gmail.com> (raw)
In-Reply-To: <20250217195050.117167-1-kumarkairiravi@gmail.com>
From: Ravi Kumar Kairi <kumarkairiravi@gmail.com>
removed brances from a single line od 'if' block
Signed-off-by: Ravi Kumar Kairi <kumarkairiravi@gmail.com>
---
drivers/staging/gpib/agilent_82350b/agilent_82350b.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/gpib/agilent_82350b/agilent_82350b.c b/drivers/staging/gpib/agilent_82350b/agilent_82350b.c
index af1bf6e893..0c07745649 100644
--- a/drivers/staging/gpib/agilent_82350b/agilent_82350b.c
+++ b/drivers/staging/gpib/agilent_82350b/agilent_82350b.c
@@ -205,9 +205,8 @@ static int agilent_82350b_accel_write(gpib_board_t *board, uint8_t *buffer, size
}
writeb(ENABLE_TI_TO_SRAM, a_priv->gpib_base + SRAM_ACCESS_CONTROL_REG);
- if (agilent_82350b_fifo_is_halted(a_priv)) {
+ if (agilent_82350b_fifo_is_halted(a_priv))
writeb(RESTART_STREAM_BIT, a_priv->gpib_base + STREAM_STATUS_REG);
- }
retval = wait_event_interruptible(board->wait,
((event_status =
--
2.48.1
next prev parent reply other threads:[~2025-02-17 19:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-17 19:50 [PATCH v5 0/3] staging:gpib: typo fix and cleam up Ravi Kumar kairi
2025-02-17 19:50 ` [PATCH v5 1/3] staging:gpib:agilent_82350b.c: fixed a typo Ravi Kumar kairi
2025-02-18 7:51 ` Greg KH
2025-02-17 19:50 ` [PATCH v5 2/3] staging:gpib:agilent_82350b.c: cleaned commented out code Ravi Kumar kairi
2025-02-18 7:51 ` Greg KH
2025-02-17 19:50 ` Ravi Kumar kairi [this message]
2025-02-18 7:52 ` [PATCH v5 3/3] staging:gpib:agilent_82350b.c: removed braces from a single if statement Greg KH
2025-02-18 7:48 ` [PATCH v5 0/3] staging:gpib: typo fix and cleam up Dan Carpenter
2025-02-18 11:56 ` Ravi Kumar Kairi
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=20250217195050.117167-4-kumarkairiravi@gmail.com \
--to=kumarkairiravi@gmail.com \
--cc=dan.carpenter@linaro.org \
--cc=dpenkler@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=rmk+kernel@armlinux.org.uk \
/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