]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit08763d73407b4a354fe8caa4d7580d3cb393401d
tree5373f5f12da8ff8225db41a4577dbecee835ca6f
parent434bb080d1bd3733fd2ab6a86bc81e891aa567c2
[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