projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9123e3a
)
soc: sunxi: sram: remove unneeded semicolon
author
Jason Yan
<yanaijie@huawei.com>
Thu, 10 Sep 2020 14:05:46 +0000
(22:05 +0800)
committer
Maxime Ripard
<maxime@cerno.tech>
Fri, 11 Sep 2020 15:02:39 +0000
(17:02 +0200)
Eliminate the following coccicheck warning:
drivers/soc/sunxi/sunxi_sram.c:197:2-3: Unneeded semicolon
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link:
https://lore.kernel.org/r/20200910140546.1191280-1-yanaijie@huawei.com
drivers/soc/sunxi/sunxi_sram.c
patch
|
blob
|
history
diff --git
a/drivers/soc/sunxi/sunxi_sram.c
b/drivers/soc/sunxi/sunxi_sram.c
index
1b0d50f
..
d4c7bd5
100644
(file)
--- a/
drivers/soc/sunxi/sunxi_sram.c
+++ b/
drivers/soc/sunxi/sunxi_sram.c
@@
-194,7
+194,7
@@
static const struct sunxi_sram_data *sunxi_sram_of_parse(struct device_node *nod
if (!data) {
ret = -EINVAL;
goto err;
- }
;
+ }
for (func = data->func; func->func; func++) {
if (val == func->val) {