Re: PCI: make pci_restore_state return void
From: Jesse Barnes <hidden>
Date: 2010-12-10 21:07:34
Also in:
linux-scsi, linux-wireless
From: Jesse Barnes <hidden>
Date: 2010-12-10 21:07:34
Also in:
linux-scsi, linux-wireless
On Tue, 30 Nov 2010 17:43:26 -0600 Jon Mason [off-list ref] wrote:
pci_restore_state only ever returns 0, thus there is no benefit in having it return any value. Also, a large majority of the callers do not check the return code of pci_restore_state. Make the pci_restore_state a void return and avoid the overhead. Signed-off-by: Jon Mason <redacted> ---
Applied to linux-next, thanks. -- Jesse Barnes, Intel Open Source Technology Center