mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tiny: remove a redundant semicolon in wait.h
@ 2017-02-18  5:01 colyli
  0 siblings, 0 replies; only message in thread
From: colyli @ 2017-02-18  5:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: Coly Li, Jiri Kosina

In the end of macro wait_event_interruptible_lock_irq_timeout(), there is
a semicolon, and at the location where this macro is referenced by macro
wait_event_interruptible_lock_irq_timeout(), there is another semicolon,
then we have two semicolon at end of a line. 

Redundant semicolons here doesn't hurt, just remove it as a really tiny
fix.

Signed-off-by: Coly Li <colyli@suse.de>
Cc: Jiri Kosina <jkosina@suse.cz>
---
 include/linux/wait.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/wait.h b/include/linux/wait.h
index 1421132..7b318cd 100644
--- a/include/linux/wait.h
+++ b/include/linux/wait.h
@@ -938,7 +938,7 @@ do {									\
 		      TASK_INTERRUPTIBLE, 0, timeout,			\
 		      spin_unlock_irq(&lock);				\
 		      __ret = schedule_timeout(__ret);			\
-		      spin_lock_irq(&lock));
+		      spin_lock_irq(&lock))
 
 /**
  * wait_event_interruptible_lock_irq_timeout - sleep until a condition gets
-- 
2.6.6

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-18  5:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-18  5:01 [PATCH] tiny: remove a redundant semicolon in wait.h colyli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®