Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2684530rdg; Mon, 16 Oct 2023 11:30:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGtM0kY0J2DvjRN/DPJ+DnDc+/bTFGz9W8hoSyzOWsKsWVu1r4q9awtjKo5M71TY2LdpfEi X-Received: by 2002:a17:903:32c9:b0:1ca:7909:6ee6 with SMTP id i9-20020a17090332c900b001ca79096ee6mr117372plr.61.1697481003393; Mon, 16 Oct 2023 11:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697481003; cv=none; d=google.com; s=arc-20160816; b=ViIyE2jDr1CHAahgQE+iLUobbknj/hZ2G9JhdQo8CJ5lCwkMjbeBOlOFVPbp9UHMaq fE26qbz+VCeCWoi46WCixlDW5azJ6E5hmNAWCrPvNyHuSTQodNDxChGcfMjtpshh7yo5 tw5tp1lEel+s8TDIE+oGXD76IrbKbba+Onj1YfAZne9BvH4Wz3QxcAxLqfiD0qC6xECL uB3+nMQw/z0m94iT/Ilvx7i7sYwvFr4QQhcYrpHnvsosewTYU+bElIOLy0rE3U93tGbF Y5ZoWO1a8xiUWqPV1Ruaa7Gns4FeQf431ycm2A5nlgleQwSFC2/85Y5F4X5e7Gi7pHn6 iX4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=JjHsQBZguJmg5VUaxhHmSJkmwaoPV8XzNp+2kxO9i1A=; fh=ODEAIkqK9IBlAFETfonJpLwnpIOVgXnOhr8OOGqOjzE=; b=cjwREgxCHVzEo5u+aWJEYfBeVHds0ZZ3j2donm+BZmxSdWIEX8SaACq6nJhVVronGS IibHuxjYgmoxDPljWeJwgsSQa/J++CGp6UWZ7baZsasEnOiKR/I7wMoZxui5mABA0KRo GE2/JSIW5bAB+8Gx012DUUTyExRkfS1YPbRacvzu6T+ak2iUoM2A12GnTIgT0cRSYbgS Ax4NqbA9qj0l3cCewksnWh3zBdTDQsMbDHbG+SxVxrjqJTYQ3Ga6likzzFcIWAhfVR2g KSV9OqgBACZQJ4p8B5vvGU6ee3Wn9mZdaN51irZqf1/W+Cl+m+o9zXRa8Yv5/S+notdi WF+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=R3zQ4EEA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id a4-20020a170902ee8400b001c9dfd47959si10059758pld.602.2023.10.16.11.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 11:30:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=R3zQ4EEA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 498888049108; Mon, 16 Oct 2023 11:30:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232302AbjJPS3r (ORCPT + 99 others); Mon, 16 Oct 2023 14:29:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231678AbjJPS3q (ORCPT ); Mon, 16 Oct 2023 14:29:46 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DE50A2; Mon, 16 Oct 2023 11:29:44 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-692c02adeefso3422177b3a.3; Mon, 16 Oct 2023 11:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697480984; x=1698085784; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JjHsQBZguJmg5VUaxhHmSJkmwaoPV8XzNp+2kxO9i1A=; b=R3zQ4EEALMi2YI9lVaHgi+z5C9WN4E49/wXKi+EwHnUFCMc8GGOHFqTWl51J7IiORX 7dhj/P0RFUgJ755/YaNvt46lqVOi0sdGoehuIfSftFdtF7GjJtiWB091xUWvNBQ6kaSN skEkyzrsmJUTG0Apf+IsCfhjVBN3+ptec8Zmwgj+wghc+myvbQxjDjxs733Evo1BEk2o 5naDr9CyeWRHm8ggvCBrdJbjRhgwxKl/Lq4+gngTCw463iD5CPf67xd2DTW2v1SFV/Lk L8UE/9o1Xx2RtpyHpZNICAg6G67pUb60aQg1URgDxt8VXJR3AyhJy/hPahOXB/h/6czC C5qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697480984; x=1698085784; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JjHsQBZguJmg5VUaxhHmSJkmwaoPV8XzNp+2kxO9i1A=; b=mgKQkRJffEuyeqDiLTN0Vk1zxipH8yyefyC6zDLklJ+0+Ntb3aHKGj2GG0Nx6Y7WyZ 0k2sU7nrlz+vShc3etSNYq/afdIrMRpBJF+/lyvWQEyY/pblYsOTF/YDipt6w1it1K7P XvwJlTkk1J4Td7kEBIKVZBTy+zEtCoZTeQVwoVnmEe2Qn+3jDR7akj8PMLesfEsoEOdQ O+xwjI3Dotr4nkvBIajAvohAKcz3aND/f4CY0xRfUgYKcP5HaUwnD/lHI25dsWiOzPly 9uAp4Pp7Mb9ZF4KH73b3wO4IfQsOJ0fClufe66lgbF7m8K5j95gdbwEl2x4/cUNMlxiJ Lvwg== X-Gm-Message-State: AOJu0YzhsqJhxELdqFdffBQvB08LXhpZafaXTYLLa4F/2ISKDoaJKHP6 4NueLrzei9y5YDp7Omfd84c= X-Received: by 2002:a05:6a20:d41d:b0:15a:836:7239 with SMTP id il29-20020a056a20d41d00b0015a08367239mr28055416pzb.11.1697480983734; Mon, 16 Oct 2023 11:29:43 -0700 (PDT) Received: from policorp.cardumecowork.local ([177.91.232.53]) by smtp.gmail.com with ESMTPSA id 5-20020a170902e9c500b001acae9734c0sm8712826plk.266.2023.10.16.11.29.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 11:29:43 -0700 (PDT) From: Edson Juliano Drosdeck To: jlee@suse.com Cc: hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com, markgross@kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, edson.drosdeck@gmail.com Subject: [PATCH] platform/x86: acer-wmi: Remove void function return Date: Mon, 16 Oct 2023 15:29:10 -0300 Message-Id: <20231016182910.3344-1-edson.drosdeck@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 16 Oct 2023 11:30:01 -0700 (PDT) Adhere to Linux kernel coding style. Reported by checkpatch: WARNING: void function return statements are not generally useful Signed-off-by: Edson Juliano Drosdeck --- drivers/platform/x86/acer-wmi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 377a0becd1a1..0e472aa9bf41 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -1922,7 +1922,6 @@ static void acer_rfkill_exit(void) rfkill_unregister(threeg_rfkill); rfkill_destroy(threeg_rfkill); } - return; } static void acer_wmi_notify(u32 value, void *context) @@ -2517,7 +2516,6 @@ static void __exit acer_wmi_exit(void) platform_driver_unregister(&acer_platform_driver); pr_info("Acer Laptop WMI Extras unloaded\n"); - return; } module_init(acer_wmi_init); -- 2.39.2