Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4302746pxj; Wed, 12 May 2021 02:33:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzGPrjGW/CblzoA1EyigGVwKiwa/UE6cBvrCQ/mnJuJ9wZH0atGh5Taie8b7AAAv/UlhpQ X-Received: by 2002:a17:906:2bd0:: with SMTP id n16mr36644777ejg.110.1620812033924; Wed, 12 May 2021 02:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620812033; cv=none; d=google.com; s=arc-20160816; b=YUHhKDwg4mIEBoLvBSsUqJz9XIv+cCx4URdp2Cf0m+cykzA/MCMkDF2LQCPrwTsshi Z681crhzkijiW32fvlNJ3gZ6R64hFJDQE5aCFYmPOOh5hGUCno2s8SWPXABFkSQl7jvV yTQ20bBqLX4VXxrro4O93X1SAR2KpCx7k3ulIWFku5nE5lP+2zQF9FcsLgSvtKKhaglM a9Tlx8ohazvI8PJeyMz8JbT+ywxH3m9R0HN77bRYg3mux/RFyYrizilTuMuindnXyZ7h zxyhMs/AJ08S38NBNW1TXnRaUTm79t9iUEHscO97UOeRtnWDpTQ5uP8eu3oERCUOH2E3 DCgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=f6RuUZ0TqvQ+ch+wDSjGE5g4KMGLOlMPMb1L5jNX3Sc=; b=LBIKB8TndP0rRA8zSlOlDF+vHkITxE+xyaY+LpTELuqYb2HfRW6OTgA0W0liqJxat8 4Os/E0F17xUqwg4Odl7aR9GoUyXu55lSDJ5g7M2Z7WYFNYrUDfvavUCYHWeJRk7mL4SI 5yFiUYMdq+Li8vMB4b59fZNOzOnlGLdacQ/GoTNNND5VIUAZQSoidOlsFbvbZwKKwGAM Y+p0RU0RVHwrXxZlmZ2jRh6EejpTYkhA0ezk+IGgR099/xOU5K2ScKp7rTFH7IJKCRH3 mMpuAVpLTHOPPPfv6/uR8jX/8Qz0wWv/4DIJobtP0VFMcqYhHKnI7ain3yfqLwRTgAlF SRvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p13si18798444edy.225.2021.05.12.02.33.30; Wed, 12 May 2021 02:33:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230517AbhELJbf (ORCPT + 99 others); Wed, 12 May 2021 05:31:35 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:2646 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230210AbhELJaq (ORCPT ); Wed, 12 May 2021 05:30:46 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4Fg8Zj07S5zldZ7; Wed, 12 May 2021 17:27:25 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Wed, 12 May 2021 17:29:27 +0800 From: Xiaofei Tan To: , CC: , , Xiaofei Tan Subject: [PATCH 14/17] tty: tty_io: Remove return in void function Date: Wed, 12 May 2021 17:26:22 +0800 Message-ID: <1620811585-18582-15-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1620811585-18582-1-git-send-email-tanxiaofei@huawei.com> References: <1620811585-18582-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove return in void function, reported by checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/tty/tty_io.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index ce07aca..eef5ccc 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -1090,7 +1090,6 @@ void tty_write_message(struct tty_struct *tty, char *msg) tty_unlock(tty); tty_write_unlock(tty); } - return; } -- 2.8.1