drm/drv: Remove initialization of static variables
authorTian Tao <tiantao6@hisilicon.com>
Fri, 19 Feb 2021 02:30:11 +0000 (10:30 +0800)
committerTian Tao <tiantao6@hisilicon.com>
Mon, 22 Feb 2021 00:49:17 +0000 (19:49 -0500)
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
drivers/gpu/drm/drm_drv.c

index 20d22e4..c2f78de 100644 (file)
@@ -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;