Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583843

[PATCH] tiny: remove a redundant semicolon in wait.h

From colyli@suse.de
Newsgroups linux.kernel
Subject [PATCH] tiny: remove a redundant semicolon in wait.h
Date 2017-02-18 06:10 +0100
Message-ID <tc5rr-5Se-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] tiny: remove a redundant semicolon in wait.h colyli@suse.de - 2017-02-18 06:10 +0100

csiph-web