OSDN Git Service

PCI/MSI: Remove unnecessary temporary variable
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Sep 2014 20:38:28 +0000 (14:38 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 1 Oct 2014 18:21:46 +0000 (12:21 -0600)
commit5ec094057c7df5ff80f5e7fe282f47ad205fb976
tree6b7769b0acde248c5ca37ebb825b2a8b6e1409e8
parent56b72b40957947f7c08771f030102351d4c906df
PCI/MSI: Remove unnecessary temporary variable

The only use of "status" is to hold a value which is immediately returned,
so just return and remove the variable directly.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c