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


Groups > linux.kernel > #1239194 > unrolled thread

[PATCH 1/1] tty: remove unneeded return statement

Started byGuillaume Gomez <guillaume1.gomez@gmail.com>
First post2015-10-04 21:30 +0200
Last post2015-10-04 21:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/1] tty: remove unneeded return statement Guillaume Gomez <guillaume1.gomez@gmail.com> - 2015-10-04 21:30 +0200

#1239194 — [PATCH 1/1] tty: remove unneeded return statement

FromGuillaume Gomez <guillaume1.gomez@gmail.com>
Date2015-10-04 21:30 +0200
Subject[PATCH 1/1] tty: remove unneeded return statement
Message-ID<qfX8S-1ay-17@gated-at.bofh.it>
Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
---
 drivers/tty/tty_ldisc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c
index 71750cb..5af8f18 100644
--- a/drivers/tty/tty_ldisc.c
+++ b/drivers/tty/tty_ldisc.c
@@ -319,7 +319,7 @@ __tty_ldisc_lock_nested(struct tty_struct *tty, unsigned long timeout)
 
 static inline void __tty_ldisc_unlock(struct tty_struct *tty)
 {
-	return ldsem_up_write(&tty->ldisc_sem);
+	ldsem_up_write(&tty->ldisc_sem);
 }
 
 static int __lockfunc
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web