提交 d9c1452c 编写于 作者: T Tom Rix 提交者: Gerd Hoffmann

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: NTom Rix <trix@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220421142054.3751507-1-trix@redhat.comSigned-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 430ac054
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册