OSDN Git Service

PCI: Remove assignment from complicated "if" conditions
authorQuentin Lambert <lambert.quentin@gmail.com>
Sun, 7 Sep 2014 18:04:28 +0000 (20:04 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 24 Sep 2014 13:56:43 +0000 (07:56 -0600)
commit2f4096e311ef0922c42cbf7bc5df44efb3aff716
treee68db0d0bec90d5242feece0d310b630a1e3df51
parent79e50e72986c9fcb06d707ce587cfd24fefa33e3
PCI: Remove assignment from complicated "if" conditions

The modifications effectively change the value of len_tmp
in the case where the first condition is not met.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/ibmphp_res.c