* [PATCH] tty: remove unneeded return from void function
@ 2015-09-22 21:46 Guillaume Gomez
2015-10-04 18:09 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Guillaume Gomez @ 2015-09-22 21:46 UTC (permalink / raw)
To: Greg KH, jslaby, linux-kernel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] tty: remove unneeded return from void function
2015-09-22 21:46 [PATCH] tty: remove unneeded return from void function Guillaume Gomez
@ 2015-10-04 18:09 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2015-10-04 18:09 UTC (permalink / raw)
To: Guillaume Gomez; +Cc: jslaby, linux-kernel
On Tue, Sep 22, 2015 at 11:46:27PM +0200, Guillaume Gomez wrote:
> 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
This patch is whitespace damaged and can not be applied :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-04 18:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-22 21:46 [PATCH] tty: remove unneeded return from void function Guillaume Gomez
2015-10-04 18:09 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.