MSI: Consolidate precondition checks
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 22 Mar 2007 10:51:39 +0000 (21:51 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:36 +0000 (19:02 -0700)
commit128bc5fced238752d01b5169077f2ec624b3d59b
treefe3317718054dcfdd77139be80a24cb3b5c09833
parentb1e2303dba021ee417c65a89e467a2b145ff9217
MSI: Consolidate precondition checks

Consolidate precondition checks into a single if statement.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/msi.c