diff options
author | Jayachandran C <c.jayachandran@gmail.com> | 2006-01-06 08:19:54 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 16:33:59 (GMT) |
commit | 6fe2e70bbed3995d930f39452fb6ce3be7dc47dc (patch) | |
tree | b196b26fa0046c39bf072238463329dc66ccca82 /security | |
parent | 066bb8d03b6e52e4844d37145573d6a2bedaa339 (diff) | |
download | linux-6fe2e70bbed3995d930f39452fb6ce3be7dc47dc.tar.xz |
[PATCH] kernel/module.c: removed dead code
This patch fixes an issue reported by Coverity in kernel/module.c
Error reported: Cannot reach this line of code "else return ptr;"
Patch description:
This is the error path, so 'err' will be negative, the else case
is not required, this patch removes it.
Signed-off-by: Jayachandran C. <c.jayachandran@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions