]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/qxl: remove qxl_log_level global
authorTom Rix <trix@redhat.com>
Thu, 21 Apr 2022 14:20:54 +0000 (10:20 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 9 Jun 2022 05:30:12 +0000 (07:30 +0200)
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>
drivers/gpu/drm/qxl/qxl_kms.c

index a054e4a00fe80878de4650f150dd06d6fb15afbd..9bf6d4cc98d4825176918715ccd2e91ed672b903 100644 (file)
@@ -33,8 +33,6 @@
 #include "qxl_drv.h"
 #include "qxl_object.h"
 
-int qxl_log_level;
-
 static bool qxl_check_device(struct qxl_device *qdev)
 {
        struct qxl_rom *rom = qdev->rom;