scripts/kallsyms: suppress build warning
authorHimanshu Chauhan <hschauhan@nulltrace.org>
Thu, 28 Jan 2010 00:53:20 +0000 (16:53 -0800)
committerMichal Marek <mmarek@suse.cz>
Tue, 2 Feb 2010 13:33:56 +0000 (14:33 +0100)
commit71d41aed9468a1239cff1b2d928954885b09de6c
tree58fbf55e18b20a75f26ecad29b5a71d71cbbf00a
parentd4987bd7ae8401bd88896a6f76dc7af31fe55732
scripts/kallsyms: suppress build warning

Suppress a warn_unused_result warning.

fgets is called as a part of error handling.  It is called just to drop a
line and return immediately.  read_map is reading the file in a loop and
read_symbol reads line by line.  So I think there is no point in using
return value for useful checking.  Other checks like 3 items were returned
or !EOF have already been done.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kallsyms.c