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:
1392e3b
)
mempool.c: clean up type-casting
author
Figo.zhang
<figo1802@gmail.com>
Sat, 8 Aug 2009 13:01:22 +0000
(21:01 +0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 10 Aug 2009 15:31:16 +0000
(08:31 -0700)
clean up type-casting twice. "size_t" is typedef as "unsigned long" in
64-bit system, and "unsigned int" in 32-bit system, and the intermediate
cast to 'long' is pointless.
Signed-off-by: Figo.zhang <figo1802@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found