[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1487394097-127485-1-git-send-email-colyli@suse.de>
Date: Sat, 18 Feb 2017 13:01:37 +0800
From: colyli@...e.de
To: linux-kernel@...r.kernel.org
Cc: Coly Li <colyli@...e.de>, Jiri Kosina <jkosina@...e.cz>
Subject: [PATCH] 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.
Signed-off-by: Coly Li <colyli@...e.de>
Cc: Jiri Kosina <jkosina@...e.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
Powered by blists - more mailing lists