Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2706888rdg; Mon, 16 Oct 2023 12:14:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGLFHQaKPOnp8elODka9bo7OF/8fdGmb6wHS0z6MbfnVtUVzU5p2QFy3tpeUacPuo+DZkUB X-Received: by 2002:a17:90a:343:b0:27d:452a:8bb6 with SMTP id 3-20020a17090a034300b0027d452a8bb6mr572152pjf.10.1697483664845; Mon, 16 Oct 2023 12:14:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697483664; cv=none; d=google.com; s=arc-20160816; b=lkJKZuhfGvKwRybZzeOF3aErkSdcs05/ljSKTRgQC2+ffOSD9lWJ0CTKA89TRPhgU7 YuP35hS5Nk/zpd4jly3DCykuf39FeLzZXDL9Jrys5ckiF/LsqHduGx5cqylBytpKTU+P ZadfdS/1xCI+Sxxjjh8O0n6136IYiWUf7ec5C6NWOF02mYtXtDHj8WzXwfqvayDIQmSf YF1xQM3zSMiYapGv9PBpJqnViNdDvCj1owguRyJNBQyXGMv9m3kckjl5In84SuAJM1Mp JrRqWOVD2m5H+DeZZgiYB4ct9qqLxP26U2DLA3VEaUpEJ9KzsOw/qt0RTODZded/Ks8k phbA== 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=hX0YSXc6+jMKeduwiLhbDjjdLeLQnRptnmgyoj+8GRc=; fh=gc1mwVN7KghlJAYJVvoT+QERnQMz+2FMG/YkK1wcFU4=; b=f9rYCSA6nkt9yO+hlbWJQcnlnNEIr0s+Js1dHgT1in9fUA8Z6Y2u/LpFC35WFEh8bJ 1HPosgcBObsMhUeX/2TmYn5IXHLmKu4j5aFYsIyrySX9nLS7dKA30es1MQ7PJYFR2R2F 74NvMPjxNfOAmR1kUsHqfJe/GFVPt6NY4W0OObHXWdAT/Nf/iB7Bez9HvkqQsfWhudwJ pJOIt/xip1wyQvK7tP22T+GMsllpXAAdstwGBdbcJdqgYEcInMn0UGjigg1rCh1vTjjn h4VbSlzfnBiSHHKPMyFDwCro3dJJ38g6NhtZynwUjyXHZGM3NIYS0lL6/jDVWSudicAm kp9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BLIHsVXo; 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 lx8-20020a17090b4b0800b002774985e8b7si7411524pjb.168.2023.10.16.12.14.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 12:14:24 -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=BLIHsVXo; 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 014E58047DA2; Mon, 16 Oct 2023 12:14:22 -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 S232152AbjJPTOQ (ORCPT + 99 others); Mon, 16 Oct 2023 15:14:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjJPTOQ (ORCPT ); Mon, 16 Oct 2023 15:14:16 -0400 Received: from mail-ua1-x932.google.com (mail-ua1-x932.google.com [IPv6:2607:f8b0:4864:20::932]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDB9D95 for ; Mon, 16 Oct 2023 12:14:14 -0700 (PDT) Received: by mail-ua1-x932.google.com with SMTP id a1e0cc1a2514c-7ab5150a7b5so3986482241.0 for ; Mon, 16 Oct 2023 12:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697483654; x=1698088454; 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=hX0YSXc6+jMKeduwiLhbDjjdLeLQnRptnmgyoj+8GRc=; b=BLIHsVXoexTIVy0SoqYOXsIi5zupC0Xf+8oTB/ldiiZEU6DBK1Xjvb8qBplwsoSqQh 2sufimIiBpzOnYfSvfQWPPioiXRzQ4Y+PMtsies9Faz3SJFRZmAh/CU9wE90kISCeLtE Yxbohr/v+to8OJDddAfW1YrKgN/DXtrmRS2yHVSACJFCPKQ/17uwyBnRQnfyFQ3Dn/Bh qGNy/Tjahi6Ou8Q8/ZARtFmvg2T+7dea+ApmpdJDOEHzlKVxQeic/ZQIKvHu16FTpeIf +hlWTAlSvP/Z6h0NaGxONmBsyAUeSDv5CMLVPbRYtEtQK4ymkMU5/GFWwL4WACXIw9CY RQ+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697483654; x=1698088454; 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=hX0YSXc6+jMKeduwiLhbDjjdLeLQnRptnmgyoj+8GRc=; b=SSL/2fXi3S2O51as8kqRdlyMr6zb8Nvr85fqH3ernEsbpNrd2raGpb4B1KLQdEqJxN rzcLUAG7aGCMpcaICOzdqkEyY2BSjdFhT2Wbg7aJnke68w1c0c240Pa9ulnUcBiAl71W zTSNx0L5JJGZMWXWnZ/enxvVXn2RjvGTS9S0nKCKemNxH5n1oIBDO2mQEMBgxCmBF2Qo tGPfR20dMcZfHJCu1/V/pgIqJEJxiWU44/AeJY6PQwxbqF79IxyLbsvp05LhJJvyPP2z HxHZwnxclkn/aHRCDoAJCCQNHXT1HC3airN76RG1VaZY8mp0Mn8vza4OYuNFMBr318Ap boiA== X-Gm-Message-State: AOJu0YyBH2Zv35Ayk9kU+NvRinWBRUY+Znf6vSZ+AF3yJSHrzoFBanLw 5CpaBQ1DkNfSCuvu4w6ia8I= X-Received: by 2002:a67:c019:0:b0:44d:38d6:5cb8 with SMTP id v25-20020a67c019000000b0044d38d65cb8mr4770055vsi.10.1697483653794; Mon, 16 Oct 2023 12:14:13 -0700 (PDT) Received: from policorp.cardumecowork.local ([177.91.232.53]) by smtp.gmail.com with ESMTPSA id s8-20020ab07648000000b007b5f7b89beasm1464181uaq.21.2023.10.16.12.14.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 12:14:13 -0700 (PDT) From: Edson Juliano Drosdeck To: corentin.chary@gmail.com Cc: hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com, markgross@kernel.org, acpi4asus-user@lists.sourceforge.net, linux-kernel@vger.kernel.org, edson.drosdeck@gmail.com Subject: [PATCH] platform/x86: asus-laptop: remove redundant braces in if statements Date: Mon, 16 Oct 2023 16:13:49 -0300 Message-Id: <20231016191349.3856-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 12:14:22 -0700 (PDT) Adhere to Linux kernel coding style. Reported by checkpatch: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Edson Juliano Drosdeck --- drivers/platform/x86/asus-laptop.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 761029f39314..bf03ea1b1274 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c @@ -1816,9 +1816,8 @@ static void asus_dmi_check(void) return; /* On L1400B WLED control the sound card, don't mess with it ... */ - if (strncmp(model, "L1400B", 6) == 0) { + if (strncmp(model, "L1400B", 6) == 0) wlan_status = -1; - } } static bool asus_device_present; -- 2.39.2