Re: [PATCH] PCI: fix build warning in iov.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 29, 2013 at 9:10 PM, Yijing Wang <wangyijing@xxxxxxxxxx> wrote:
> Delete unused variable rc to fix build warning in driver/pci/iov.c
>
> Signed-off-by: Yijing Wang <wangyijing@xxxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux