[PATCH] bs_sheepdog.c: fix a compiler warning due to an unused label
Ryusuke Konishi <[email protected]> Sat, 11 Oct 2014 13:13:22 +0900
| Newsgroups | org.kernel.vger.stgt |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- 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