Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/qxl: remove qxl_log_level global

Smatch reports this issue
qxl_kms.c:36:5: warning: symbol 'qxl_log_level' was not declared. Should it be static?

qxl_log_level is defined qxl_kms.c but unused, so remove.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220421142054.3751507-1-trix@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

authored by

Tom Rix and committed by
Gerd Hoffmann
d9c1452c 430ac054

-2
-2
drivers/gpu/drm/qxl/qxl_kms.c
··· 33 33 #include "qxl_drv.h" 34 34 #include "qxl_object.h" 35 35 36 - int qxl_log_level; 37 - 38 36 static bool qxl_check_device(struct qxl_device *qdev) 39 37 { 40 38 struct qxl_rom *rom = qdev->rom;