[PATCH] hotplug/rpaphp: remove unused error path code

Jesse Barnes jbarnes at virtuousgeek.org
Thu Aug 28 09:34:03 EST 2008


On Monday, August 18, 2008 6:45 pm Stephen Rothwell wrote:
> Commit f46753c5e354b857b20ab8e0fe7b2579831dc369 ("PCI: introduce pci_slot")
> removed the need for this error path.  Eliminate this warning:
>
> drivers/pci/hotplug/rpaphp_slot.c: In function 'rpaphp_register_slot':
> drivers/pci/hotplug/rpaphp_slot.c:151: warning: label 'sysfs_fail' defined
> but not used
>
> Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>

Applied to linux-next, thanks.

Jesse



More information about the Linuxppc-dev mailing list