projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
078ebd8
)
drm/sun4i: Remove unneeded semicolon in sun4i_layer.c
author
zhengbin
<zhengbin13@huawei.com>
Sat, 14 Dec 2019 09:51:31 +0000
(17:51 +0800)
committer
Maxime Ripard
<maxime@cerno.tech>
Sat, 14 Dec 2019 17:48:15 +0000
(18:48 +0100)
Fixes coccicheck warning:
drivers/gpu/drm/sun4i/sun4i_layer.c:253:3-4: Unneeded semicolon
drivers/gpu/drm/sun4i/sun4i_layer.c:257:2-3: Unneeded semicolon
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link:
https://patchwork.freedesktop.org/patch/msgid/1576317091-24968-3-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/sun4i/sun4i_layer.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/sun4i/sun4i_layer.c
b/drivers/gpu/drm/sun4i/sun4i_layer.c
index c04f4ba0d69d099f2af96c4efb83f2c970167d6a..acfbfd4463a1bd5624949e8369e9f54702f28368 100644
(file)
--- a/
drivers/gpu/drm/sun4i/sun4i_layer.c
+++ b/
drivers/gpu/drm/sun4i/sun4i_layer.c
@@
-250,11
+250,11
@@
struct drm_plane **sun4i_layers_init(struct drm_device *drm,
dev_err(drm->dev, "Couldn't initialize %s plane\n",
i ? "overlay" : "primary");
return ERR_CAST(layer);
- }
;
+ }
layer->id = i;
planes[i] = &layer->plane;
- }
;
+ }
return planes;
}