mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
soc: sunxi: sram: remove unneeded semicolon
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
This commit is contained in:
@@ -194,7 +194,7 @@ static const struct sunxi_sram_data *sunxi_sram_of_parse(struct device_node *nod
|
|||||||
if (!data) {
|
if (!data) {
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
goto err;
|
goto err;
|
||||||
};
|
}
|
||||||
|
|
||||||
for (func = data->func; func->func; func++) {
|
for (func = data->func; func->func; func++) {
|
||||||
if (val == func->val) {
|
if (val == func->val) {
|
||||||
|
|||||||
Reference in New Issue
Block a user