diff options
| author | Mariusz Kozlowski <[email protected]> | 2007-08-11 22:34:30 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2007-08-11 22:34:48 +0200 |
| commit | 2e4934aa4586832c35e077191849a06f93e4a9a0 (patch) | |
| tree | a548f2408b19ed634e49520e995bffe279a303a7 /scripts/patch-kernel | |
| parent | 1aebe18787ca2e915eb8204d365ba2484d53223b (diff) | |
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 <[email protected]>
Acked-by: Mike Miller <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions