All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Sebastian Ott <sebott@linux.vnet.ibm.com>
Cc: virtualization@lists.linux-foundation.org
Subject: Re: [PATCH] virtio_ccw: remove unsued variable
Date: Tue, 28 Oct 2014 19:37:58 +0200	[thread overview]
Message-ID: <20141028173758.GA24566@redhat.com> (raw)
In-Reply-To: <alpine.LFD.2.11.1410281634560.1567@denkbrett>

On Tue, Oct 28, 2014 at 04:39:12PM +0100, Sebastian Ott wrote:
> On Mon, 20 Oct 2014, Michael S. Tsirkin wrote:
> > On Mon, Oct 20, 2014 at 12:48:18PM +0200, Sebastian Ott wrote:
> > > Hi,
> > > 
> > > 016c98c6f virtio: unify config_changed handling
> > > 
> > > introduced a warning in virtio_ccw which is fixed by the following patch.
> > > 
> > > Regards,
> > > Sebastian
> > > ---
> > > virtio_ccw: remove unsued variable
> > 
> > s/unsued/unused/
> > 
> 
> Totally forgot to send an updated version..sry. Here it is.
> 
> Regards,
> Sebastian
> 
> ---
> virtio_ccw: remove unused variable
> 
> Fix this warning:
> drivers/s390/kvm/virtio_ccw.c: In function ‘virtio_ccw_int_handler’:
> drivers/s390/kvm/virtio_ccw.c:891:24: warning: unused variable ‘drv’ [-Wunused-variable]
>     struct virtio_driver *drv;
> 
> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>

Acked-by: Michael S. Tsirkin <mst@redhat.com>

> ---
>  drivers/s390/kvm/virtio_ccw.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm/virtio_ccw.c
> index 6cbe6ef..bda52f1 100644
> --- a/drivers/s390/kvm/virtio_ccw.c
> +++ b/drivers/s390/kvm/virtio_ccw.c
> @@ -888,7 +888,6 @@ static void virtio_ccw_int_handler(struct ccw_device *cdev,
>  	struct virtio_ccw_device *vcdev = dev_get_drvdata(&cdev->dev);
>  	int i;
>  	struct virtqueue *vq;
> -	struct virtio_driver *drv;
>  
>  	if (!vcdev)
>  		return;
> -- 
> 1.8.4.2

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

  reply	other threads:[~2014-10-28 17:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-20 10:48 [PATCH] virtio_ccw: remove unsued variable Sebastian Ott
2014-10-20 11:05 ` Cornelia Huck
2014-10-20 14:19 ` Michael S. Tsirkin
2014-10-28 15:39   ` Sebastian Ott
2014-10-28 17:37     ` Michael S. Tsirkin [this message]
2014-10-30 17:51       ` Cornelia Huck
2014-10-31  0:01         ` Rusty Russell
2014-10-31  8:10           ` Cornelia Huck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141028173758.GA24566@redhat.com \
    --to=mst@redhat.com \
    --cc=sebott@linux.vnet.ibm.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.