From: Li Zhong <lizhongfs@gmail•com>
To: linux-next list <linux-next@vger•kernel.org>
Cc: Andrew Morton <akpm@linux-foundation•org>
Subject: [PATCH next] fix unused variable compiler warning
Date: Fri, 16 Aug 2013 14:48:34 +0800 [thread overview]
Message-ID: <1376635714.2642.6.camel@ThinkPad-T5421> (raw)
fs/ext4/extents_status.c:950:6: warning: unused variable
'ret' [-Wunused-variable]
Signed-off-by: Li Zhong <lizhongfs@gmail•com>
---
fs/ext4/extents_status.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c
index dc709e1..6708257 100644
--- a/fs/ext4/extents_status.c
+++ b/fs/ext4/extents_status.c
@@ -947,7 +947,7 @@ static int __ext4_es_shrink(struct ext4_sb_info *sbi, int nr_to_scan,
struct ext4_inode_info *ei;
struct list_head *cur, *tmp;
LIST_HEAD(skipped);
- int ret, nr_shrunk = 0;
+ int nr_shrunk = 0;
int retried = 0, skip_precached = 1, nr_skipped = 0;
spin_lock(&sbi->s_es_lru_lock);
next reply other threads:[~2013-08-16 6:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-16 6:48 Li Zhong [this message]
2013-08-16 7:19 ` [PATCH next] fix unused variable compiler warning Stephen Rothwell
2013-08-16 7:21 ` Stephen Rothwell
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=1376635714.2642.6.camel@ThinkPad-T5421 \
--to=lizhongfs@gmail$(echo .)com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=linux-next@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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