commit | 5e2f89b5d5d87a7c3ba19fc85ba0c29adb65f639 | [log] [tgz] |
---|---|---|
author | Figo.zhang <figo1802@gmail.com> | Sat Aug 08 21:01:22 2009 +0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Aug 10 08:31:16 2009 -0700 |
tree | 2737536b2183e1d089ef4d83495c75c815c7f448 | |
parent | 1392e3b33319fd1a2527bebfc56631c2f2d3c7c5 [diff] |
mempool.c: clean up type-casting 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>