Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1230986 > unrolled thread
| Started by | Guillaume Gomez <guillaume1.gomez@gmail.com> |
|---|---|
| First post | 2015-09-22 23:50 +0200 |
| Last post | 2015-10-04 20:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] tty: remove unneeded return from void function Guillaume Gomez <guillaume1.gomez@gmail.com> - 2015-09-22 23:50 +0200
Re: [PATCH] tty: remove unneeded return from void function Greg KH <gregkh@linuxfoundation.org> - 2015-10-04 20:10 +0200
| From | Guillaume Gomez <guillaume1.gomez@gmail.com> |
|---|---|
| Date | 2015-09-22 23:50 +0200 |
| Subject | [PATCH] tty: remove unneeded return from void function |
| Message-ID | <qbDBN-U7-35@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] | [next] | [standalone]
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2015-10-04 20:10 +0200 |
| Message-ID | <qfVTs-7UW-13@gated-at.bofh.it> |
| In reply to | #1230986 |
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 :(
--
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] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web