[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180907073402.2h37cmvc4i5dz3uz@sirius.home.kraxel.org>
Date: Fri, 7 Sep 2018 09:34:02 +0200
From: Gerd Hoffmann <kraxel@...hat.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: David Airlie <airlied@...ux.ie>, dri-devel@...ts.freedesktop.org,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] drm/virtio: Remove set but not used variable 'bo'
On Fri, Sep 07, 2018 at 02:03:57AM +0000, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/gpu/drm/virtio/virtgpu_display.c: In function 'virtio_gpu_framebuffer_init':
> drivers/gpu/drm/virtio/virtgpu_display.c:78:28: warning:
> variable 'bo' set but not used [-Wunused-but-set-variable]
> struct virtio_gpu_object *bo;
> ^
Patch queued.
thanks,
Gerd
Powered by blists - more mailing lists