P54: use temporary variables to reduce size of generated code
commiteb76bf29dd4aceaf877b8971fbfda8617abe6e05
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 2 Nov 2007 05:55:36 +0000 (2 01:55 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:33 +0000 (28 15:03 -0800)
treeee31031ee47e84fbaae478e9a075b6ad28577937
parent1b34fd390c340b0554dcda9552f82d77dff8ed23
P54: use temporary variables to reduce size of generated code

When there are 2 linked structures, using a temporary variable to hold a pointer
to the often used structure usually produces better code (smaller and faster)
since compiler does not have to constantly re-fetch data from the first structure.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54pci.c