Re: linux-next: build warning after merge of the ptrace tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stephen,

On 08/29, Stephen Rothwell wrote:
>
> After merging the ptrace tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> fs/autofs4/waitq.c: In function 'autofs4_wait':
> fs/autofs4/waitq.c:462:17: warning: unused variable 'irqflags'
>
> Introduced by commit 33ee1d9bc213 ("autofs4: Use set_current_blocked()").

Argh. Thanks again.

I've committed the trivial fix.

Oleg.

commit 2efd0a8f5a5e981022faaec780ee00c05eeee8aa
Author: Oleg Nesterov <oleg@xxxxxxxxxx>
Date:   Mon Aug 29 20:17:24 2011 +0200

    autofs4_wait: remove the unused irqflags variable
    
    irqflags is not used since 33ee1d9bc213, remove it.
    
    Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
    Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

diff --git a/fs/autofs4/waitq.c b/fs/autofs4/waitq.c
index 58ba49a..09fb503 100644
--- a/fs/autofs4/waitq.c
+++ b/fs/autofs4/waitq.c
@@ -459,7 +459,6 @@ int autofs4_wait(struct autofs_sb_info *sbi, struct dentry *dentry,
 	if (wq->name.name) {
 		/* Block all but "shutdown" signals while waiting */
 		sigset_t oldset, blocked;
-		unsigned long irqflags;
 
 		oldset = current->blocked;
 		siginitsetinv(&blocked, SHUTDOWN_SIGS & ~oldset.sig[0]);

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux