projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e0e0a
)
[PATCH] Remove redundant NULL checks before [kv]free - in fs/
author
Jesper Juhl
<jesper.juhl@gmail.com>
Tue, 27 Jun 2006 09:55:04 +0000
(
02:55
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:48 +0000
(17:32 -0700)
Remove redundant NULL checks before kfree for fs/
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Mark Fasheh <mark.fasheh@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ocfs2/vote.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/vote.c
b/fs/ocfs2/vote.c
index ee42765a8553e9c5ed51e47805f9bd1440679399..cf70fe2075b8f58e1a4109e7872da1cc7c246c21 100644
(file)
--- a/
fs/ocfs2/vote.c
+++ b/
fs/ocfs2/vote.c
@@
-988,9
+988,7
@@
int ocfs2_request_mount_vote(struct ocfs2_super *osb)
}
bail:
- if (request)
- kfree(request);
-
+ kfree(request);
return status;
}
@@
-1021,9
+1019,7
@@
int ocfs2_request_umount_vote(struct ocfs2_super *osb)
}
bail:
- if (request)
- kfree(request);
-
+ kfree(request);
return status;
}