projects/linux·commit 44e29e64

watch-queue: remove spurious double semicolon

44e29e64 · Linus Torvalds <[email protected]> · 2022-07-21 10:30:14 -07:00

Sedat Dilek noticed that I had an extraneous semicolon at the end of a
line in the previous patch.

It's harmless, but unintentional, and while compilers just treat it as
an extra empty statement, for all I know some other tooling might warn
about it. So clean it up before other people notice too ;)

Fixes: 353f7988dd84 ("watchqueue: make sure to serialize 'wqueue->defunct' properly")
Reported-by: Sedat Dilek <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>

Reported-by: Sedat Dilek <[email protected]>
Commit
44e29e64cf1ac0cffb152e0532227ea6d002aa28
Parents
353f7988

Changes

1 files changed · +1 −1

FileStatusAddDelContent
kernel/watch_queue.cmodified+1−1View file

kernel/watch_queue.c

View file
diff --git a/kernel/watch_queue.c b/kernel/watch_queue.c
index 8b28fad..bb9962b 100644
--- a/kernel/watch_queue.c
+++ b/kernel/watch_queue.c
@@ -227,7 +227,7 @@ void __post_watch_notification(struct watch_list *wlist,
if (lock_wqueue(wqueue)) {
post_one_notification(wqueue, n);
- unlock_wqueue(wqueue);;
+ unlock_wqueue(wqueue);
}
}