Skip to contentSkip to conversation

soc: loongson: Remove unneeded semicolon from loongson2_soc_die_attr()

PATCH In review [email protected] 2 participants 2 messages Jun 14, 2023 – Aug 1, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 soc: loongson: Remove unneeded semicolon from loongson2_soc_die_attr()

./drivers/soc/loongson/loongson2_guts.c:73:2-3: Unneeded semicolon

---
 drivers/soc/loongson/loongson2_guts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/loongson/loongson2_guts.c +1 -1
index bace4bc8e03b..afa559396013 100644
@@ -70,7 +70,7 @@ static const struct loongson2_soc_die_attr *loongson2_soc_die_match(
         if (matches->svr == (svr & matches->mask))
             return matches;
         matches++;
-    };
+    }
 
     return NULL;
 }
maintainer Reviewed-by on v1 1/1
#2 lore raw

Hi, Mingtong,

And please resend this patch, cc Arnd and [email protected], because that is the most appropriate list for this patch.

Huacai

Quoted 24 lines · On Wed, Jun 14, 2023 at 4:42 PM <[email protected]> wrote:

./drivers/soc/loongson/loongson2_guts.c:73:2-3: Unneeded semicolon

---
  drivers/soc/loongson/loongson2_guts.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/loongson/loongson2_guts.c +1 -1
index bace4bc8e03b..afa559396013 100644
@@ -70,7 +70,7 @@ static const struct loongson2_soc_die_attr
 *loongson2_soc_die_match(
          if (matches->svr == (svr & matches->mask))
              return matches;
          matches++;
-    };
+    }
 
      return NULL;
  }