]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mempool.c: clean up type-casting
authorFigo.zhang <figo1802@gmail.com>
Sat, 8 Aug 2009 13:01:22 +0000 (21:01 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Aug 2009 15:31:16 +0000 (08:31 -0700)
commit5e2f89b5d5d87a7c3ba19fc85ba0c29adb65f639
tree2737536b2183e1d089ef4d83495c75c815c7f448
parent1392e3b33319fd1a2527bebfc56631c2f2d3c7c5
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>
mm/mempool.c