summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-07-21 10:30:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-07-21 10:30:14 -0700
commit44e29e64cf1ac0cffb152e0532227ea6d002aa28 (patch)
tree73c3540f72995b6ea6494f62e3a8fbf4a91446b7
parent353f7988dd8413c47718f7ca79c030b6fb62cfe5 (diff)
downloadlinux-44e29e64cf1ac0cffb152e0532227ea6d002aa28.tar.bz2
watch-queue: remove spurious double semicolon
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 <sedat.dilek@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
-rw-r--r--kernel/watch_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/watch_queue.c b/kernel/watch_queue.c
index 8b28fad1319b..bb9962b33f95 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);
}
}