From: zhong jiang <zhongjiang@huawei.com>
To: <gregkh@linuxfoundation.org>, <gaoxiang25@huawei.com>,
<yuchao0@huawei.com>
Cc: <rspringer@google.com>, <jnjoseph@google.com>,
<benchan@chromium.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH] drivers/staging: Remove some unneeded semicolon
Date: Sun, 5 Aug 2018 21:57:09 +0800 [thread overview]
Message-ID: <1533477429-17379-1-git-send-email-zhongjiang@huawei.com> (raw)
That semicolons are unneeded, JUst remove them.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
---
drivers/staging/erofs/unzip_vle.c | 2 +-
drivers/staging/gasket/gasket_interrupt.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/erofs/unzip_vle.c b/drivers/staging/erofs/unzip_vle.c
index 1030ca5..e5ceb68 100644
--- a/drivers/staging/erofs/unzip_vle.c
+++ b/drivers/staging/erofs/unzip_vle.c
@@ -1016,7 +1016,7 @@ static void z_erofs_vle_unzip_all(struct super_block *sb,
owned = READ_ONCE(grp->next);
z_erofs_vle_unzip(sb, grp, page_pool);
- };
+ }
}
static void z_erofs_vle_unzip_wq(struct work_struct *work)
diff --git a/drivers/staging/gasket/gasket_interrupt.c b/drivers/staging/gasket/gasket_interrupt.c
index 09c3d07..1cfbc12 100644
--- a/drivers/staging/gasket/gasket_interrupt.c
+++ b/drivers/staging/gasket/gasket_interrupt.c
@@ -386,7 +386,7 @@ int gasket_interrupt_init(struct gasket_dev *gasket_dev, const char *name,
"Cannot handle unsupported interrupt type %d\n",
interrupt_data->type);
ret = -EINVAL;
- };
+ }
if (ret) {
/* Failing to setup interrupts will cause the device to report
@@ -445,7 +445,7 @@ int gasket_interrupt_reinit(struct gasket_dev *gasket_dev)
"Cannot handle unsupported interrupt type %d\n",
gasket_dev->interrupt_data->type);
ret = -EINVAL;
- };
+ }
if (ret) {
/* Failing to setup MSIx will cause the device
@@ -493,7 +493,7 @@ void gasket_interrupt_cleanup(struct gasket_dev *gasket_dev)
dev_dbg(gasket_dev->dev,
"Cannot handle unsupported interrupt type %d\n",
interrupt_data->type);
- };
+ }
kfree(interrupt_data->interrupt_counts);
kfree(interrupt_data->eventfd_ctxs);
--
1.7.12.4
next reply other threads:[~2018-08-05 14:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-05 13:57 zhong jiang [this message]
2018-08-06 1:27 ` Gao Xiang
2018-08-06 1:58 ` Chao Yu
2018-08-06 2:07 ` Gao Xiang
2018-08-06 2:11 ` zhong jiang
2018-08-06 2:16 ` Gao Xiang
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=1533477429-17379-1-git-send-email-zhongjiang@huawei.com \
--to=zhongjiang@huawei.com \
--cc=benchan@chromium.org \
--cc=gaoxiang25@huawei.com \
--cc=gregkh@linuxfoundation.org \
--cc=jnjoseph@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rspringer@google.com \
--cc=yuchao0@huawei.com \
/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
all inboxes | Powered by JetHome®