Thread (4 messages) 4 messages, 4 authors, 2010-12-10

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help