projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad9845
)
[PATCH] Remove redundant NULL checks before [kv]free - in kernel/
author
Jesper Juhl
<jesper.juhl@gmail.com>
Tue, 27 Jun 2006 09:55:05 +0000
(
02:55
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:48 +0000
(17:32 -0700)
Remove redundant kfree NULL checks from kernel/
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/auditsc.c
patch
|
blob
|
history
diff --git
a/kernel/auditsc.c
b/kernel/auditsc.c
index bdfb580a067b49ee770b0d4c54ee9b5609187f1e..dc5e3f01efe747c9d1816895ae1a1e40fb527489 100644
(file)
--- a/
kernel/auditsc.c
+++ b/
kernel/auditsc.c
@@
-658,8
+658,7
@@
static void audit_log_task_context(struct audit_buffer *ab)
return;
error_path:
- if (ctx)
- kfree(ctx);
+ kfree(ctx);
audit_panic("error in audit_log_task_context");
return;
}