[PATCH] ide-cd mini cleanup of casts
authorJesper Juhl <jesper.juhl@gmail.com>
Sun, 30 Oct 2005 23:02:45 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:23 +0000 (17:37 -0800)
commit2a91f3e54ff27c6002597f689ba51c5fa657ddbd
treefdf7632886716b66f2c335b2a6169a192d329c46
parent20e1129ab831486c811d50d3905343ad48c4275f
[PATCH] ide-cd mini cleanup of casts

Remove some unneeded casts.
Avoid an assignment in the case of kmalloc failure.
Break a few instances of  if (foo) whatever;  into two lines.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/ide-cd.c