diff options
author | Tom Rix <trix@redhat.com> | 2022-04-21 16:20:54 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-06-09 07:30:12 +0200 |
commit | d9c1452c0f07c2e0766a6cf3921eca182e26fdf3 (patch) | |
tree | d71e0b31f18e0312e51d014df185664d8b674516 /drivers/gpu/drm/qxl | |
parent | drm/bochs: Explicitly include linux/module.h (diff) | |
download | linux-d9c1452c0f07c2e0766a6cf3921eca182e26fdf3.tar.xz linux-d9c1452c0f07c2e0766a6cf3921eca182e26fdf3.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/qxl')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_kms.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_kms.c b/drivers/gpu/drm/qxl/qxl_kms.c index a054e4a00fe8..9bf6d4cc98d4 100644 --- a/drivers/gpu/drm/qxl/qxl_kms.c +++ b/drivers/gpu/drm/qxl/qxl_kms.c @@ -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; |