[patch 2/2] qxl: silence uninitialized variable warning

2016-07-12 Thread Daniel Vetter
On Mon, Jul 11, 2016 at 11:47:16AM +0300, Dan Carpenter wrote: > GCC doesn't complain about this but my static checker does. We're > passing "drawable" before initializing it. It's not actually used so > it's harmless and I just removed it. > > Signed-off-by: Dan Carpenter Both of your qxl pat

[patch 2/2] qxl: silence uninitialized variable warning

2016-07-11 Thread Dan Carpenter
GCC doesn't complain about this but my static checker does. We're passing "drawable" before initializing it. It's not actually used so it's harmless and I just removed it. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/qxl/qxl_draw.c b/drivers/gpu/drm/qxl/qxl_draw.c index 56e1d63..f