[PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/rpaphp_pci.c
authorJesper Juhl <jesper.juhl@gmail.com>
Sun, 11 Dec 2005 05:42:38 +0000 (06:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Jan 2006 20:13:19 +0000 (12:13 -0800)
commitf5c99dfc11dce8f26c1ceedb6595fa0eac335ea3
tree5373f5f12da8ff8225db41a4577dbecee835ca6f
parentefbf62e9f4d93c3716a4d6d3221d537c71e299a2
[PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/rpaphp_pci.c

Here's a small patch to reduce the nr. of pointer dereferences in
drivers/pci/hotplug/rpaphp_pci.c

Benefits:
 - micro speed optimization due to fewer pointer derefs
 - generated code should be slightly smaller
 - better readability

note: due to lack of both hardware and cross-compile tools this patch is,
      unfortunately, completely untested.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/rpaphp_pci.c