Skip to contentSkip to conversation

s390/cpum_cf: remove unneeded semicolon

PATCH New Yang Li 1 participant 1 message Feb 2, 2021 s390

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 s390/cpum_cf: remove unneeded semicolon

Eliminate the following coccicheck warning:
./arch/s390/kernel/perf_cpum_cf.c:272:2-3: Unneeded semicolon

---
 arch/s390/kernel/perf_cpum_cf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/kernel/perf_cpum_cf.c +1 -1
index 0eb1d1c..b3beef6 100644
@@ -269,7 +269,7 @@ static int __hw_perf_event_init(struct perf_event *event, unsigned int type)
 	case CPUMF_CTR_SET_MAX:
 		/* The counter could not be associated to a counter set */
 		return -EINVAL;
-	};
+	}
 
 	/* Initialize for using the CPU-measurement counter facility */
 	if (!atomic_inc_not_zero(&num_events)) {
Signature · 1 line
1.8.3.1