diff options
author | 2010-08-12 09:53:52 +0200 | |
---|---|---|
committer | 2010-08-12 12:26:22 +0100 | |
commit | b06cd21e2f0f75686f95afa5b71219b1408f5458 (patch) | |
tree | e1a316a5e671b0ba4e483b615b866b5468e93f45 /tools/perf/scripts/python/syscall-counts.py | |
parent | MIPS: Fix gen_nand probe structures contents (diff) | |
download | linux-dev-b06cd21e2f0f75686f95afa5b71219b1408f5458.tar.xz linux-dev-b06cd21e2f0f75686f95afa5b71219b1408f5458.zip |
mtd/m25p80: retlen is never NULL
This is just a cleanup, it doesn't fix any bugs.
These functions all check retlen inconsistently and it generates a
warning in Smatch (http://smatch.sf.net). If retlen were ever NULL it
would cause an oops and the code has been this way since 2006 so someone
would have complained. Also I looked at other places that implemented
the mtd read and write functions and they dereference retlen without
checking.
I removed the checks.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions