diff options
| author | Himanshu Chauhan <hschauhan@nulltrace.org> | 2010-01-27 16:53:20 -0800 | 
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-02-02 14:33:56 +0100 | 
| commit | 71d41aed9468a1239cff1b2d928954885b09de6c (patch) | |
| tree | 58fbf55e18b20a75f26ecad29b5a71d71cbbf00a /arch/ia64/scripts/unwcheck.py | |
| parent | d4987bd7ae8401bd88896a6f76dc7af31fe55732 (diff) | |
| download | olio-linux-3.10-71d41aed9468a1239cff1b2d928954885b09de6c.tar.xz olio-linux-3.10-71d41aed9468a1239cff1b2d928954885b09de6c.zip  | |
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>
Diffstat (limited to 'arch/ia64/scripts/unwcheck.py')
0 files changed, 0 insertions, 0 deletions