Oliver O'Halloran 758b423275 powerpc/eeh_sysfs: Remove double pci_dn lookup.
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 <oohall@gmail.com>
Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com>
Tested-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190715085612.8802-5-oohall@gmail.com
2020-01-23 21:31:19 +11:00
..
2019-12-09 10:36:44 -08:00
2019-12-18 17:47:38 +01:00
2019-11-28 11:16:43 -08:00
2020-01-04 13:55:09 -08:00
2020-01-04 14:16:57 -08:00
2019-12-12 16:34:33 +08:00
2019-12-02 17:18:43 -08:00
2019-12-09 10:36:44 -08:00
2019-11-28 10:57:12 -08:00
2019-12-04 19:44:12 -08:00