git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cbc591
)
fs/romfs/inode.c: trivial improvements
author
WANG Cong
<xiyou.wangcong@gmail.com>
Wed, 17 Oct 2007 06:26:15 +0000
(23:26 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:47 +0000
(08:42 -0700)
- There are no lists in fs/romfs/inode.c, so using list_entry
is a bit confusing. Replace it with container_of.
- It is unnecessary to cast the return value of
kmem_cache_alloc, since it returns a void* pointer.
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found