diff options
| author | Arnd Bergmann <[email protected]> | 2018-12-10 21:49:10 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2019-01-29 23:15:36 +0000 |
| commit | 2a727f6091372231281efaa8a5f56ee79509fd83 (patch) | |
| tree | 8b4b8cf9043cb82cb0b1363d676d4d45708be7a8 /drivers/pci/hotplug/ibmphp.h | |
| parent | PCI: pciehp: Assign ctrl->slot_ctrl before writing it to hardware (diff) | |
| download | kernel-2a727f6091372231281efaa8a5f56ee79509fd83.tar.gz kernel-2a727f6091372231281efaa8a5f56ee79509fd83.zip | |
PCI: ibmphp: Turn semaphores into completions or mutexes
The sem_exit variable is conceptually a completion, so it should be called
that.
Similarly, the semOperations semaphore is a simple mutex, and can be
changed into that, respectively.
With both converted, the ibmphp_hpc_initvars() function is no longer used
and can be removed.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp.h')
| -rw-r--r-- | drivers/pci/hotplug/ibmphp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/ibmphp.h b/drivers/pci/hotplug/ibmphp.h index b89f850c3a4e..e90a4ebf6550 100644 --- a/drivers/pci/hotplug/ibmphp.h +++ b/drivers/pci/hotplug/ibmphp.h @@ -378,7 +378,6 @@ int ibmphp_add_pfmem_from_mem(struct resource_node *); struct bus_node *ibmphp_find_res_bus(u8); void ibmphp_print_test(void); /* for debugging purposes */ -void ibmphp_hpc_initvars(void); int ibmphp_hpc_readslot(struct slot *, u8, u8 *); int ibmphp_hpc_writeslot(struct slot *, u8); void ibmphp_lock_operations(void); |
