PCI: shpchp: remove dead code
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 20 Jun 2012 22:11:45 +0000 (16:11 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 20 Jun 2012 23:28:53 +0000 (17:28 -0600)
commit67454b6602c3519d15193630e6765a5f02f39160
treead5718f2654adb2f08ebf9cac0973b989ba94950
parent8f38eaca55d0fab7499b33adb1dec33e16de5abb
PCI: shpchp: remove dead code

"slots_not_empty" is initialized to zero and can't be set again before
reaching this point, so this return statement is dead.  Remove it.

Found by Coverity (CID 114324).

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