Skip to contentSkip to conversation

proc: remove unneeded semicolon

PATCH New Jiapeng Chong 1 participant 1 message Aug 25, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 proc: remove unneeded semicolon

No functional modification involved.

./fs/proc/base.c:3821:2-3: Unneeded semicolon.

---
 fs/proc/base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/proc/base.c +1 -1
index ffd54617c354..989463f7ec13 100644
@@ -3818,7 +3818,7 @@ static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos,
 	for_each_thread(task, pos) {
 		if (!nr--)
 			goto found;
-	};
+	}
 fail:
 	pos = NULL;
 	goto out;
Signature · 1 line
2.20.1.7.g153144c