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

Stephen Rothwell sfr at canb.auug.org.au
Thu Aug 28 13:16:28 EST 2008


Hi Jesse,

On Wed, 27 Aug 2008 16:34:03 -0700 Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
>
> 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.

I has also been applied to the powerpc next tree, but that is ok.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080828/a935fed6/attachment.pgp>


More information about the Linuxppc-dev mailing list