Re: fs/9p/vfs_inode.c(406): remark #593: variable "sb" was set but never used

From: Alexey Dobriyan
Date: Wed Nov 29 2006 - 09:48:54 EST


On 11/29/06, d binderman <dcb314@xxxxxxxxxxx> wrote:

Hello there,

I just tried to compile Linux kernel 2.6.18.3 with the Intel C
C compiler.

The compiler said

1.

fs/9p/vfs_inode.c(406): remark #593: variable "sb" was set but never used

The source code is

struct super_block *sb = NULL;

I have checked the source code and I agree with the compiler.
Suggest delete local variable.

2.

fs/9p/vfs_inode.c(757): remark #593: variable "olddirfidnum" was set but
never used
fs/9p/vfs_inode.c(758): remark #593: variable "newdirfidnum" was set but
never used

Please, upload full list of these warnings somewhere and post URL.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/