]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] PCI: clean up msi.c a bit
authorGrant Grundler <grundler@parisc-linux.org>
Sat, 14 Jan 2006 07:34:53 +0000 (00:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Mar 2006 22:35:10 +0000 (14:35 -0800)
commit9272aefe4f912ee81f3809c4585328677d4478e3
treeb611e32ceeaa0de2782334fe88a204dfe97e6017
parenta28cdb9ca0f7c3d371b0253237894f41c282b921
[PATCH] PCI: clean up msi.c a bit

Clean up: move assignments outside of if() statements.
AFAICT, no functional change. Easier to read/understand.

Depends on "[PATCH 1/3] msi vector targeting abstractions"
by Mark Maule <maule@sgi.com>.
I expect one hunk to fail if applied against 2.6.15.

This is essentially Joe Perches' patch.
I've cleaned up the one instance added by Mark's patch.

Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/msi.c
drivers/pci/pci.c