Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2114242imm; Mon, 3 Sep 2018 19:46:34 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdacd0LesWm5pczlf+amm9/YAirL5OoGKHLulYFl2ikKcH05x+46pT+P4evslsm2pzwu3Mwt X-Received: by 2002:a17:902:8b86:: with SMTP id ay6-v6mr31688010plb.25.1536029194145; Mon, 03 Sep 2018 19:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536029194; cv=none; d=google.com; s=arc-20160816; b=N3GmDExIlluGLVlvkbxCSrAC+qTlH4SJF6doRRxxZrvibrDNqpJItHxioGWQm/Itwi lulJWKVsAh9aWk8+LSyh+4sylTjXomMThdXfHJLcBIHruxHWNkVTJZ1j2FcDtuWHmjlX KTia1RJ2kNeKUY6ZtedvCzUY1ndL+jlftnNfncYrV8VCNbXkNLZOVN8BxfGRsejX6GSA y5HjWk/tujA19w5RI8QtzHeDfzWydM73m5ho4cWPTfLTnLkry2efzNgstdA6YeHcpLwZ nA6gu3FQZtyVGlny8eknqhzymHHaQnejbOmHaqW6J+0ErP11NXm7N8YFMN26Xxw1KFmQ 4EKw== 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=QKXT0IAdiXGunM0h8TcwlUcNbYTcAP1VBYf+0K34IOw=; b=lYHxv433qUYB5cFH+/gtZnk+c9teQgfNgfzHarOntNfnlgz8kMXAjr3sEVNA6ET1K5 u1NbjKWxPhFHkeouulEkpDBFx7oRibqT/yd20R82GldXMNS4W/maLRooyyl/dFCm/yRi jPf13Eps+Rhx577jgIB8WxDdof8GawwiHtERXavpQdU/M5O8UUpvy3cIeM3LGOI8Welo VLZKgeoobrBSzSI40pVthU5SWOsG9LwK7gaNp2x3GQvcEUCDR1ft4B60SQygbr21GkB5 cccocwlbMDO10jMNvJ2TxOk+7tFsaQNxpBTHtHB6V1KoxADnFRaxkRwByMgGeqVIDTMH b7UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bcmdTC4I; 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 n8-v6si21449448pfh.210.2018.09.03.19.46.19; Mon, 03 Sep 2018 19:46:34 -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=bcmdTC4I; 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 S1727169AbeIDHIJ (ORCPT + 99 others); Tue, 4 Sep 2018 03:08:09 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38524 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbeIDHIJ (ORCPT ); Tue, 4 Sep 2018 03:08:09 -0400 Received: by mail-pg1-f193.google.com with SMTP id f4-v6so891006pgq.5; Mon, 03 Sep 2018 19:45:14 -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=QKXT0IAdiXGunM0h8TcwlUcNbYTcAP1VBYf+0K34IOw=; b=bcmdTC4IFRlkcnu8u5M3hslCsrGt3xtnfwLmuDwqml+VgFsLScxRsX69Z1WHq4kc/F 7kOOGpZVzNBqUlLfNCs6h4N3vT57A4SMcoD0/LoJ85+okOM8C6uWDUm3nbAM82/n1FLh tc19OURIJS64bFCfl5XVccjOqxgGBbwBH8RBgK4o7puXJRGfZFeyjATTcm/rfzvsxRJi EImZoqDjUmyiBKtKyAlgBe+BYfWQA7JVEY1eZnNcvnEBeA4jIoHwOpDyTdTAgZsf/X/B Ng7O+h1OHgnw7JBoRQNg54u/dkDSQP1afDCKoL5yrkEXdSDdtSIe4/elSPza0sn8cWS8 NNbg== 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=QKXT0IAdiXGunM0h8TcwlUcNbYTcAP1VBYf+0K34IOw=; b=GQxK0jWsWlxWuw04GZKeclsut8E4R8wl8PA53amcoW0pMJDv5c3pARs7egfJm0WnHg cfs+Xif9wPESw48x6s6WC1YkgeNFEipWKWK/d6+gz8su0F/Vrf+QspY+JPOEwf3Lmw8o RogOE8XXYIVUWL1bmBA/E20oMLUlNusivoY9EPWQ4ZAi8b7K5+Dwl1sLll8/e/zA/acb He/mQPHZTAn/DXwWiB85tbtUenkcvMiBksveoXmoxK3itcHv5Ax6rs7gmTmVGQ3zTAQ9 u41Vuig0mhfM0+fIzMfVhe8ghtODoMNv0x9PUWyRZXr5ry13sqroQRJCC6Zk9YJ3ej9u LVTw== X-Gm-Message-State: APzg51D8MiYFdOSEiwP7YVXStBlAAI9lTBqeFBB0Jsa0x22uVTC1fbLJ gdD20Sl2FPHXexCgdUkeaxM= X-Received: by 2002:a63:f54c:: with SMTP id e12-v6mr29197845pgk.286.1536029114284; Mon, 03 Sep 2018 19:45:14 -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.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Sep 2018 19:45:13 -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 03/25] s390: char: con3215: Change return type to void Date: Tue, 4 Sep 2018 11:44:29 +0900 Message-Id: <1536029091-4426-4-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/con3215.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index 8c9d412..6a9f6d9 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c @@ -965,8 +965,9 @@ static int tty3215_install(struct tty_driver *driver, struct tty_struct *tty) return -ENODEV; tty->driver_data = raw; + tty_port_install(&raw->port, driver, tty); - return tty_port_install(&raw->port, driver, tty); + return 0; } /* -- 2.7.4