From: Mariusz Kozlowski Date: Sat, 11 Aug 2007 20:34:30 +0000 (+0200) Subject: drivers/block/cpqarray.c: better error handling and kmalloc + memset conversion to... X-Git-Tag: v2.6.23-rc3~12^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e4934aa4586832c35e077191849a06f93e4a9a0;p=pandora-kernel.git drivers/block/cpqarray.c: better error handling and kmalloc + memset conversion to k[cz]alloc This patch removes some redundant casts, does the kmalloc + memset to k[cz]alloc conversion and it changes the error path to use goto (to avoid code duplication). drivers/block/cpqarray.c | 49567 -> 48623 (-944 bytes) drivers/block/cpqarray.o | 178820 -> 178288 (-532 bytes) Signed-off-by: Mariusz Kozlowski Acked-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe --- Reading git-diff-tree failed