Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2198947pxf; Sat, 27 Mar 2021 05:13:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRjTWkatZ6pnnY+1yZkbGJcqcfkKqsBzrfj+yYH3etk5BugXVRvSxLud10aur6ayqYqfWw X-Received: by 2002:aa7:c74a:: with SMTP id c10mr19745285eds.332.1616847188868; Sat, 27 Mar 2021 05:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616847188; cv=none; d=google.com; s=arc-20160816; b=0mnkFhi4hFigyh8jPQnmpK5xFGIYxxF+k2hwo2ZNSgtnnPkXBYNryem/kAznERfeTB K1TMxTX0LfkepzXFzVufw4GonLOKG2tDjXrxL2paOSc589ll+lvlnY1KG6mFfmUG2GFZ IgyMHF5iocNk5SAmbnAT7eURqDUSu1cZQb76ODPI0fJpDkfQmLhjHLgQ6dNMuAxdKSx2 5DEE3QnPsr2YYbclYwkFybgVrvEkkMaacjueGgGIf+INrHJGBqC5slFUEbcHQchIHDWE 9/kEuhLSJvAmCD7bNrJ/Ct4jOpZU1f+v6VLM6N2sXx1Ov2D6gqGtVaQh/bfLSnvDVGQ5 OLuQ== 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=6vTGz06nxFPDB+fAAqAFySfkJWEKctlXbEbJ1hZGvDg=; b=iOajKbvlPZjqWApsoLaVftFvJFViGst7UXXckKMZ05knd+iHc4cCxp89l8izHORTPO x2ajPWK9+c/XLDXao4SEXkxFrZX2HS/JUBRw8pUivZV7ukFuU3DpvdkPm0KeTj7tOLue qfWQhDKxwWQnJBNuqaIbnreezIfqFiKw12XT03loyS2nSxUGR6klvkSMQZq+VotN28rx B9kLMzLVYLgO0nowsj6TlfrSW6PQ7DhHyXjMGVORpd8KzCp0gkgn9f09IrMZFkgHL00w wHGK1PF/u1Q5LLrn4tV4VbMbTztsF0bzPtI2RvLp2kKWYXGhWfx9kHPNNexNYeWRNuym Qb4w== 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 c13si8649167ede.115.2021.03.27.05.12.46; Sat, 27 Mar 2021 05:13:08 -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 S229765AbhC0MLf (ORCPT + 99 others); Sat, 27 Mar 2021 08:11:35 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15023 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230254AbhC0MLQ (ORCPT ); Sat, 27 Mar 2021 08:11:16 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F6yKt74JDzPskM; Sat, 27 Mar 2021 20:08:34 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 20:10:59 +0800 From: Xiaofei Tan To: , , , CC: Xiaofei Tan , , , , Subject: [PATCH v3 03/12] ACPI: ipmi: remove useless return statement for void function Date: Sat, 27 Mar 2021 20:08:15 +0800 Message-ID: <1616846904-25719-4-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1616846904-25719-1-git-send-email-tanxiaofei@huawei.com> References: <1616846904-25719-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 useless return statement for void function, reported by checkpatch.pl. WARNING: void function return statements are not generally useful FILE: drivers/acpi/acpi_ipmi.c:482: + return; +} Signed-off-by: Xiaofei Tan --- drivers/acpi/acpi_ipmi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c index 9d6c0fc..bbd00d9 100644 --- a/drivers/acpi/acpi_ipmi.c +++ b/drivers/acpi/acpi_ipmi.c @@ -478,7 +478,6 @@ static void ipmi_register_bmc(int iface, struct device *dev) ipmi_dev_release(ipmi_device); err_ref: put_device(smi_data.dev); - return; } static void ipmi_bmc_gone(int iface) -- 2.8.1