Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2114353imm; Mon, 3 Sep 2018 19:46:52 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbFLTw/K+bQjyzsstoSX1wMilju3qRw278sSymmHn3/1NM8KlLghKUSDyY02Z4GY1VWna7I X-Received: by 2002:a17:902:6501:: with SMTP id b1-v6mr31517096plk.31.1536029212026; Mon, 03 Sep 2018 19:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536029211; cv=none; d=google.com; s=arc-20160816; b=sw8PDHBUuDrqcCj7/5lreUq0jbrVdSlGp72tQxxJoid2hNHidJIJ4E0VKMl9a8246E oiqddvkvH0dTTMeCRWlAv2flYK6gF8V+YySVPnRjWvxTYaTRQggSt6k70RIBti6UOMHy GQHxsayAyXgvg75Aool15AKjUHywmWVC1zhzFnxrnyYqsC6ylZLJZmwiBmNp65wQvVUa z1M+aDLDpumYOwY7cjpOOLzRgmkt2SW1fR4mTaP190kFZD8Ot66uNyHcTgWjVWpV2DNx OIiezVsKK0tPrAnaGDXYAqptIxaLbp2OzUPgg5YmIl5fQW0UwwjXDwgEyTSedaxQGTbA uAKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=ds3q9KD+4bwv6Be443Dyi9iiaHrBZT5yxhOOYzF9crg=; b=zeWGJjv2b+VdrdULpcmi7MTebUMSgf70054Es3//gCQW4WnKqCLqnkg8D6g5M7XJek Jxef0C1B9gmJSE0qJcd07rHVjx3uwh/dpQqM3FZq0/DePE/4UqzihVIfwplrzxcrJ4bp u0bvLJ77BXECicwqpBSqNHz4wstYU0if2yEqEX+RbfAeZxuKljFgd4PSnLZfmNt5jMvL Sf6Y6YTN1fQ8Ob3nGWdDX7Uuikc0pkht5/iqbnRe0MYp11sinz71bEYru9nRPaaAHGJx 9hdtZ8KEvrsmUwP6x7iFnQXd7pyBVyO0EoF0fjfdo4fpUZj+THcSraxjyea2wJ8esRNs wOgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AiTY2J0y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u42-v6si20236610pgn.86.2018.09.03.19.46.36; Mon, 03 Sep 2018 19:46:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AiTY2J0y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727248AbeIDHIO (ORCPT + 99 others); Tue, 4 Sep 2018 03:08:14 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:37150 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbeIDHIN (ORCPT ); Tue, 4 Sep 2018 03:08:13 -0400 Received: by mail-pl1-f194.google.com with SMTP id f1-v6so889543plt.4; Mon, 03 Sep 2018 19:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ds3q9KD+4bwv6Be443Dyi9iiaHrBZT5yxhOOYzF9crg=; b=AiTY2J0yecEktVfXFRlwiIiAAy2sWRdA1OtLSTHDNtoNB4eYZFTegALMENThQPbch5 rbiqZQQ3uBr9KDT7V5ymtK//+E35Tb5nksA3XhKCJsfkhZzhU2/rodIqHj/6ZR5O0l+O +j74wmpJB7AObwSbunt+cLYm2ltgK8PzOWntFlKfqriFhuvl24R7ifmAH7EwVRHH86qZ +Qx1+Da5S84kBucqunCfaOlNQE+nsevi7O0i77UCmr9IJsTaQ3Ml/tf+H1T33LtOyf4O DVKR6e6GA5xHYaUk9MWB7x14M/2HSncWv6KiHgAA14538CUldZZCk21Z49CO4rsrfTf8 sV+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ds3q9KD+4bwv6Be443Dyi9iiaHrBZT5yxhOOYzF9crg=; b=NcrnRdO8gMTS2Gd2MEA/LPQ/r8r7JK8JfYe3Bd1cl7RdYp2Nci18h2jtDXwURrOH8a tOl56yeXJIG26DIDcVTEH6YR4/gULmSWJf0hn/YcZ+L7YUVmGKGnTE5f/BLGi+OoqPZC JZSZCloo1YEHFV6JFGClvd7+M2PlVriO99KOrlX3CURh27x2ZuhtBPSWLTreQJR753e8 8CGTq/ROzZ0sS4dTWaG4RAgZWEhKyuzugnWutl2OLpAhyGCzeK68U23jKAs37JVTVwEZ C2TAXVYg/LwcbaCMiAIWftPxCEU1d/eYxjDCbC1xOrqkdkhS3t9T8T3mytvPttK0lKSq 0fJA== X-Gm-Message-State: APzg51CCL0AW5d0gBpNnShXZ8LPcHw5CAGzJ3g2lQyJtgn/BY6GS6PfB 1yuzQoZ6xU1nmH1vsxSOHoE= X-Received: by 2002:a17:902:2804:: with SMTP id e4-v6mr31226863plb.327.1536029118457; Mon, 03 Sep 2018 19:45:18 -0700 (PDT) Received: from climb.lge.net ([27.122.242.77]) by smtp.gmail.com with ESMTPSA id w16-v6sm33663284pfi.101.2018.09.03.19.45.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Sep 2018 19:45:17 -0700 (PDT) From: Jaejoong Kim To: linux-um@lists.infradead.org, netdev@vger.kernel.org, linux-mmc@vger.kernel.org, linux-s390@vger.kernel.org, devel@driverdev.osuosl.org, greybus-dev@lists.linaro.org, linuxppc-dev@lists.ozlabs.org, linux-serial@vger.kernel.org, sparclinux@vger.kernel.org, linux-usb@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Jiri Slaby Subject: [PATCH 04/25] s390: char: tty3270: Change return type to void Date: Tue, 4 Sep 2018 11:44:30 +0900 Message-Id: <1536029091-4426-5-git-send-email-climbbb.kim@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536029091-4426-1-git-send-email-climbbb.kim@gmail.com> References: <1536029091-4426-1-git-send-email-climbbb.kim@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since tty_port_install() always returns 0, the return type has changed to void. Now apply this and remove the obsolete error check. Signed-off-by: Jaejoong Kim --- drivers/s390/char/tty3270.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c index 5b8af27..2915f95 100644 --- a/drivers/s390/char/tty3270.c +++ b/drivers/s390/char/tty3270.c @@ -1017,12 +1017,7 @@ static int tty3270_install(struct tty_driver *driver, struct tty_struct *tty) raw3270_activate_view(&tp->view); port_install: - rc = tty_port_install(&tp->port, driver, tty); - if (rc) { - raw3270_put_view(&tp->view); - return rc; - } - + tty_port_install(&tp->port, driver, tty); tty->driver_data = tp; return 0; -- 2.7.4