projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0345bae
)
drm/drv: Remove initialization of static variables
author
Tian Tao
<tiantao6@hisilicon.com>
Fri, 19 Feb 2021 02:30:11 +0000
(10:30 +0800)
committer
Tian 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_drv.c
b/drivers/gpu/drm/drm_drv.c
index 20d22e41d7ce74d7f7b0698d271dabd64f7ce488..c2f78dee9f2ddc78d20d3b8aa6a3edcda99945fb 100644
(file)
--- 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;