diff options
author | Andreas Mohr <andi@rhlx01.fht-esslingen.de> | 2006-10-11 10:22:24 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 20:14:25 +0200 |
commit | bf02c082bf7a464518d45b9c178b8aa83f74dd5d (patch) | |
tree | 8c0aafa48ec5e2298d76d58baf67bd59a5fa95ae /Documentation | |
parent | [PATCH] drivers/mca: handle sysfs errors (diff) | |
download | linux-bf02c082bf7a464518d45b9c178b8aa83f74dd5d.tar.xz linux-bf02c082bf7a464518d45b9c178b8aa83f74dd5d.zip |
[PATCH] fs/bio.c: tweaks
- Calculate a variable in bvec_alloc_bs() only once needed, not earlier
(bio.o down from 18408 to 18376 Bytes, 32 Bytes saved, probably due to
data locality improvements).
- Init variable idx to silence a gcc warning which already existed in the
unmodified original base file (bvec_alloc_bs() handles idx correctly, so
there's no need for the warning):
fs/bio.c: In function `bio_alloc_bioset':
fs/bio.c:169: warning: `idx' may be used uninitialized in this function
Signed-off-by: Andreas Mohr <andi@lisas.de>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions