summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>2007-08-12 00:34:30 +0400
committerJens Axboe <jens.axboe@oracle.com>2007-08-12 00:34:48 +0400
commit2e4934aa4586832c35e077191849a06f93e4a9a0 (patch)
treea548f2408b19ed634e49520e995bffe279a303a7 /include/linux
parent1aebe18787ca2e915eb8204d365ba2484d53223b (diff)
downloadlinux-2e4934aa4586832c35e077191849a06f93e4a9a0.tar.xz
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 <m.kozlowski@tuxland.pl> Acked-by: Mike Miller <mike.miller@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions