Skip to contentSkip to conversation

tiny: remove a redundant semicolon in wait.h

PATCH New [email protected] 1 participant 1 message Feb 18, 2017 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tiny: remove a redundant semicolon in wait.h

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.

Cc Jiri Kosina <[email protected]>
---
 include/linux/wait.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/wait.h +1 -1
index 1421132..7b318cd 100644
@@ -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
Signature · 1 line
2.6.6