From: Zhou Jie <zhoujie2011@cn.fujitsu.com>
To: linux-scsi@vger.kernel.org
Cc: mst@redhat.com, rusty@rustcorp.com.au, pbonzini@redhat.com,
stefanha@linux.vnet.ibm.com,
Zhou Jie <zhoujie2011@cn.fujitsu.com>,
Chao Fan <fanc.fnst@cn.fujitsu.com>
Subject: [PATCH] Remove the unnecessary semicolons
Date: Fri, 19 Aug 2016 10:03:09 +0800 [thread overview]
Message-ID: <1471572189-21257-1-git-send-email-zhoujie2011@cn.fujitsu.com> (raw)
At the end of funcions, semicolons are unnecessary. So drop them.
Signed-off-by: Chao Fan <fanc.fnst@cn.fujitsu.com>
---
drivers/scsi/virtio_scsi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c
index 7dbbb29..9632a0c 100644
--- a/drivers/scsi/virtio_scsi.c
+++ b/drivers/scsi/virtio_scsi.c
@@ -241,7 +241,7 @@ static void virtscsi_req_done(struct virtqueue *vq)
struct virtio_scsi_vq *req_vq = &vscsi->req_vqs[index];
virtscsi_vq_done(vscsi, req_vq, virtscsi_complete_cmd);
-};
+}
static void virtscsi_poll_requests(struct virtio_scsi *vscsi)
{
@@ -267,7 +267,7 @@ static void virtscsi_ctrl_done(struct virtqueue *vq)
struct virtio_scsi *vscsi = shost_priv(sh);
virtscsi_vq_done(vscsi, &vscsi->ctrl_vq, virtscsi_complete_free);
-};
+}
static void virtscsi_handle_event(struct work_struct *work);
@@ -413,7 +413,7 @@ static void virtscsi_event_done(struct virtqueue *vq)
struct virtio_scsi *vscsi = shost_priv(sh);
virtscsi_vq_done(vscsi, &vscsi->event_vq, virtscsi_complete_event);
-};
+}
/**
* virtscsi_add_cmd - add a virtio_scsi_cmd to a virtqueue
--
2.5.5
next reply other threads:[~2016-08-19 2:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 2:03 Zhou Jie [this message]
2016-09-15 10:11 ` [PATCH] Remove the unnecessary semicolons Paolo Bonzini
-- strict thread matches above, loose matches on Subject: below --
2016-08-18 15:04 Chao Fan
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=1471572189-21257-1-git-send-email-zhoujie2011@cn.fujitsu.com \
--to=zhoujie2011@cn.fujitsu.com \
--cc=fanc.fnst@cn.fujitsu.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=rusty@rustcorp.com.au \
--cc=stefanha@linux.vnet.ibm.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;
as well as URLs for NNTP newsgroup(s).