lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAOQCfRa8SahYBt+fpTcJ8wEBjEYKEb64sP9SJA_yEmjqDqnTQ@mail.gmail.com>
Date:	Tue, 22 Sep 2015 23:46:27 +0200
From:	Guillaume Gomez <guillaume1.gomez@...il.com>
To:	Greg KH <gregkh@...uxfoundation.org>, jslaby@...e.com,
	linux-kernel@...r.kernel.org
Subject: [PATCH] tty: remove unneeded return from void function

 Signed-off-by: Guillaume Gomez <guillaume1.gomez@...il.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ