[PATCH] soc: fsl: guts: remove unneeded semicolon in fsl_soc_die_match()

Jason Yan yanaijie at huawei.com
Sat Apr 18 18:18:25 AEST 2020


Fix the following coccicheck warning:

drivers/soc/fsl/guts.c:120:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci at huawei.com>
Signed-off-by: Jason Yan <yanaijie at huawei.com>
---
 drivers/soc/fsl/guts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c
index 34810f9bb2ee..d5e9a5f2c087 100644
--- a/drivers/soc/fsl/guts.c
+++ b/drivers/soc/fsl/guts.c
@@ -117,7 +117,7 @@ static const struct fsl_soc_die_attr *fsl_soc_die_match(
 		if (matches->svr == (svr & matches->mask))
 			return matches;
 		matches++;
-	};
+	}
 	return NULL;
 }
 
-- 
2.21.1



More information about the Linuxppc-dev mailing list