* [PATCH next] fix unused variable compiler warning
@ 2013-08-16 6:48 Li Zhong
2013-08-16 7:19 ` Stephen Rothwell
0 siblings, 1 reply; 3+ messages in thread
From: Li Zhong @ 2013-08-16 6:48 UTC (permalink / raw)
To: linux-next list; +Cc: Andrew Morton
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);
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH next] fix unused variable compiler warning
2013-08-16 6:48 [PATCH next] fix unused variable compiler warning Li Zhong
@ 2013-08-16 7:19 ` Stephen Rothwell
2013-08-16 7:21 ` Stephen Rothwell
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2013-08-16 7:19 UTC (permalink / raw)
To: lizhongfs
Cc: linux-next list, Andrew Morton, Theodore Ts'o,
Andreas Dilger, linux-ext4
[-- Attachment #1: Type: text/plain, Size: 970 bytes --]
Hi,
You should probably have cc'd the ext4 maintainers (cc'd).
On Fri, 16 Aug 2013 14:48:34 +0800 Li Zhong <lizhongfs@gmail.com> wrote:
>
> 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);
>
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH next] fix unused variable compiler warning
2013-08-16 7:19 ` Stephen Rothwell
@ 2013-08-16 7:21 ` Stephen Rothwell
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2013-08-16 7:21 UTC (permalink / raw)
To: lizhongfs
Cc: linux-next list, Andrew Morton, Theodore Ts'o,
Andreas Dilger, linux-ext4
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
Hi,
On Fri, 16 Aug 2013 17:19:32 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> You should probably have cc'd the ext4 maintainers (cc'd).
And I should probably check my own tree :-)
Andrew already has a patch that does this.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-16 7:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-16 6:48 [PATCH next] fix unused variable compiler warning Li Zhong
2013-08-16 7:19 ` Stephen Rothwell
2013-08-16 7:21 ` Stephen Rothwell
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).