]> git.baikalelectronics.ru Git - kernel.git/commitdiff
watch-queue: remove spurious double semicolon
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jul 2022 17:30:14 +0000 (10:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jul 2022 17:30:14 +0000 (10:30 -0700)
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: a35d328443b4 ("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>
kernel/watch_queue.c

index 8b28fad1319bd0d6bdfb30db651b264b024ae64f..bb9962b33f95cec8cd6203f62fe3adf1fca1a480 100644 (file)
@@ -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);
                }
        }