From: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
To: stgt@vger.kernel.org
Cc: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Subject: [PATCH] bs_sheepdog.c: fix a compiler warning due to an unused label
Date: Sat, 11 Oct 2014 13:13:22 +0900 [thread overview]
Message-ID: <1413000802-11886-1-git-send-email-konishi.ryusuke@lab.ntt.co.jp> (raw)
This gets rid of the following gcc warning in sd_open function by
removing the unused label 'retry':
bs_sheepdog.c: In function 'sd_open':
bs_sheepdog.c:1199:1: warning: label 'retry' defined but not used [-Wunused-label]
retry:
^
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
---
usr/bs_sheepdog.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/usr/bs_sheepdog.c b/usr/bs_sheepdog.c
index 9376946..ba5b099 100644
--- a/usr/bs_sheepdog.c
+++ b/usr/bs_sheepdog.c
@@ -1196,7 +1196,6 @@ trans_to_expect_nothing:
ai->min_dirty_data_idx = UINT32_MAX;
ai->max_dirty_data_idx = 0;
-retry:
ret = read_object(ai, (char *)&ai->inode, vid_to_vdi_oid(vid),
0, SD_INODE_SIZE, 0, &need_reload);
if (ret)
--
1.8.3.1
next reply other threads:[~2014-10-11 4:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-11 4:13 Ryusuke Konishi [this message]
2014-10-11 7:01 ` [PATCH] bs_sheepdog.c: fix a compiler warning due to an unused label FUJITA Tomonori
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=1413000802-11886-1-git-send-email-konishi.ryusuke@lab.ntt.co.jp \
--to=konishi.ryusuke@lab.ntt.co.jp \
--cc=stgt@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).