From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751835AbbJDSJv (ORCPT ); Sun, 4 Oct 2015 14:09:51 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:37862 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539AbbJDSJu (ORCPT ); Sun, 4 Oct 2015 14:09:50 -0400 Date: Sun, 4 Oct 2015 19:09:44 +0100 From: Greg KH To: Guillaume Gomez Cc: jslaby@suse.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tty: remove unneeded return from void function Message-ID: <20151004180944.GA499@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 22, 2015 at 11:46:27PM +0200, Guillaume Gomez wrote: > Signed-off-by: Guillaume Gomez > --- > 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 :(