diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2021-02-19 05:30:11 +0300 |
---|---|---|
committer | Tian Tao <tiantao6@hisilicon.com> | 2021-02-22 03:49:17 +0300 |
commit | c00697b59251f795fa5278cfe4d81407f76a450b (patch) | |
tree | cf063390c3175e0c7902359187f8fb813bc44456 /drivers/gpu/drm/drm_drv.c | |
parent | 0345bae1776b24e2b591f50b1bfe63001fd40efb (diff) | |
download | linux-c00697b59251f795fa5278cfe4d81407f76a450b.tar.xz |
drm/drv: Remove initialization of static variables
Address the following checkpatch errors:
ERROR: do not initialise statics to false
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1613701811-32037-1-git-send-email-tiantao6@hisilicon.com
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
-rw-r--r-- | drivers/gpu/drm/drm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 20d22e41d7ce..c2f78dee9f2d 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -61,7 +61,7 @@ static struct idr drm_minors_idr; * prefer to embed struct drm_device into their own device * structure and call drm_dev_init() themselves. */ -static bool drm_core_init_complete = false; +static bool drm_core_init_complete; static struct dentry *drm_debugfs_root; |