Re: [PATCH 4/5] powerpc/eeh_sysfs: Remove double pci_dn lookup.

2019-07-15 Thread Sam Bobroff
On Mon, Jul 15, 2019 at 06:56:11PM +1000, Oliver O'Halloran wrote: > In eeh_notify_resume_show() the pci_dn for the device is looked up once in > the declaration block and then once after checking for a NULL eeh_dev. > Remove the second lookup since it's pointless. > > Signed-off-by: Oliver O'Hall

[PATCH 4/5] powerpc/eeh_sysfs: Remove double pci_dn lookup.

2019-07-15 Thread Oliver O'Halloran
In eeh_notify_resume_show() the pci_dn for the device is looked up once in the declaration block and then once after checking for a NULL eeh_dev. Remove the second lookup since it's pointless. Signed-off-by: Oliver O'Halloran --- arch/powerpc/kernel/eeh_sysfs.c | 1 - 1 file changed, 1 deletion(