]> err.no Git - linux-2.6/commit
[PATCH] Decrease number of pointer derefs in multipath.c
authorJesper Juhl <jesper.juhl@gmail.com>
Tue, 10 Jan 2006 04:54:44 +0000 (20:54 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:02:01 +0000 (08:02 -0800)
commit352d768b19408d3c019a3fa09fd5bfed99a55bc6
tree1e3aee2364e1a9a610b05cab8c468f4647c1df31
parent3795e1616f16905889761536cdc266ebc51855e5
[PATCH] Decrease number of pointer derefs in multipath.c

Decrease the number of pointer derefs in drivers/md/multipath.c

Benefits of the patch:
 - Fewer pointer dereferences should make the code slightly faster.
 - Size of generated code is smaller
 - improved readability

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Alasdair G Kergon <agk@redhat.com>
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/multipath.c