]> err.no Git - linux-2.6/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)
commitb64c05e7de6071694dd6840eac9724a006ee19f8
treeb611e32ceeaa0de2782334fe88a204dfe97e6017
parentb0e6e962992b76580f4900b166a337bad7c1e81b
[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