Message ID | 1359519038-25424-1-git-send-email-wangyijing@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On Tue, Jan 29, 2013 at 9:10 PM, Yijing Wang <wangyijing@huawei.com> wrote: > Delete unused variable rc to fix build warning in driver/pci/iov.c > > Signed-off-by: Yijing Wang <wangyijing@huawei.com> Applied to my pci/yinghai-root-bus-hotplug branch for v3.9. Thanks! Bjorn > --- > drivers/pci/iov.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c > index f8720af..4ea7139 100644 > --- a/drivers/pci/iov.c > +++ b/drivers/pci/iov.c > @@ -33,7 +33,6 @@ static inline u8 virtfn_devfn(struct pci_dev *dev, int id) > > static struct pci_bus *virtfn_add_bus(struct pci_bus *bus, int busnr) > { > - int rc; > struct pci_bus *child; > > if (bus->number == busnr) > -- > 1.7.1 > > -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index f8720af..4ea7139 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c @@ -33,7 +33,6 @@ static inline u8 virtfn_devfn(struct pci_dev *dev, int id) static struct pci_bus *virtfn_add_bus(struct pci_bus *bus, int busnr) { - int rc; struct pci_bus *child; if (bus->number == busnr)
Delete unused variable rc to fix build warning in driver/pci/iov.c Signed-off-by: Yijing Wang <wangyijing@huawei.com> --- drivers/pci/iov.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)