Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp887102rwb; Wed, 26 Jul 2023 04:41:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlG/yc7sb0U50Xj5uW+d3+dWXhbVbc50MZegf0zbpCnaiRz4LridJE3lJCHZ0Kv1hYewZWXg X-Received: by 2002:aa7:dd09:0:b0:51d:9db8:8257 with SMTP id i9-20020aa7dd09000000b0051d9db88257mr1439851edv.30.1690371669715; Wed, 26 Jul 2023 04:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690371669; cv=none; d=google.com; s=arc-20160816; b=WBntN/ARZuLSBX9qgcdQhxyyOo0+jvtkufJ/oMb+Zar1ZzBwX+GRzitf5It1UI26cm tc33JvBGJuWAn9Xs3VCxn3foLRFP/aQEkOP4sM8BJFQNd6H251oFYuWglz6A2wyDzJ9c Me/EmQ59Mz9F/Xwd98F7NDLUdEP+VnWN4/bWezYpR0U2/jpxDBbRE19r7m3QvMRgP1jz nqr5DXRbOI0jWDYhAHMz1MTg3Romo+LXO8GWv1wKg5F08qYvrNb8GAs8sBxpbQrWrnd5 q/EHiGO8rx4y+OryMTtpwOeZ4rPwZttOd2URfXXZct3P41wTsbNelUgi+dFwmo0eCwSO yjmw== 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=jRk8jNKW91M6F3IDdxzdEP7tlLU/kkiuv6RO5d+Ih7A=; fh=90NMtXbLuerCoFw6rAqkgHsOTPJ6Zs7KLcQDK3nNvUs=; b=cPFk/DWPP3TlhevoQpt/8crwqPItdHTA9Xp599yp/FoaPXiHACqtseLyyQuUpbT7Of idVOpph+Vzr7fbXq6VPVnBvENjxXcvFt4zSGxzdxbMDeVKcKSl2aFpUXatF8DB+E4MsA RiF+Y9nhKnFEo/tn64RfZwc9ytjk05Ktn7LBfasKc58s00L03ZZS4RgO07Jsz//cwgyR OjJPCkQ3G9yTNNJUfyM2tipq9Q9WT07yynLsE6vjJgvrb0LdesdjyuXoGHwDNcY700Mv uwIgggtq8WrAeH7KHlcesmESSag5AtYWj+Dey64JblL/vclZIP4Zk+12DdOB/IldOtrK V0cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=GdXuUHFL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a25-20020aa7d759000000b0051dd2c07091si9870921eds.161.2023.07.26.04.40.45; Wed, 26 Jul 2023 04:41:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=GdXuUHFL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233863AbjGZLg0 (ORCPT + 99 others); Wed, 26 Jul 2023 07:36:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232862AbjGZLgY (ORCPT ); Wed, 26 Jul 2023 07:36:24 -0400 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F3BE11F; Wed, 26 Jul 2023 04:36:22 -0700 (PDT) Received: by mail-io1-xd41.google.com with SMTP id ca18e2360f4ac-78bb3ff7cbcso133341139f.3; Wed, 26 Jul 2023 04:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690371381; x=1690976181; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jRk8jNKW91M6F3IDdxzdEP7tlLU/kkiuv6RO5d+Ih7A=; b=GdXuUHFLj3Su3OIEi1+R+uvvOko8WLt5AZIEmNMq7+btM3rpN2Z553+sH/hR6AMK9+ PIOCkiYQk5+S611dqh8vg651hkD8RMP+deIXrMtXUXH30hoV0sNSo79JHtucj6q1j/88 WeR2H6BK8kcko//k6hPgCfUvApgzEAZdtCxaYHjhohskuVOCfgi2zabI0lmeC/EVu74p TcT85HX0hK8T7Rr/vhqPMne/Eylnt79ZeEOSYjdcN1NHxeThN0Qpvy4QHv3KhXTo8zmu hRho01UspN9k2W5G0x9UDOkYfVPkd4CPiRHDNuiyiilaxM2JcgQ3BSQ7E8GMstA4/Nnf vkJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690371381; x=1690976181; 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=jRk8jNKW91M6F3IDdxzdEP7tlLU/kkiuv6RO5d+Ih7A=; b=hb4o/HhvlLwFZYVOxkuJLqL1p77IA2G/Q1qggRp44FxNvgEBgcVxaAfFb3XFDmI8g5 GdHStVg4fEaKeO4drpYLc1PVdFOHN2QF53UmkG+ie2c99i5cpVsDqBlMe4jnvji0maqD Au7yT5KXpupC8UxPDOvnhg/tl6sGZ0dJxekiRn0x9LnItGbzHD9cw7UOoyIJdTQLi7IR NWBH4ZnE3YZD1j7/FT+WYe0pXAtUSg2UdzfmpXBaUxgh1bzT7cVmbmwNXuQr3f4y3KlU oFp/Q98ucpUNPe6xHONXrKHCNIl5h+oBxs7vEDHUXagv5vagUDY7hqdcTiFkBQsw2RC+ aOlg== X-Gm-Message-State: ABy/qLb4Zy3w/tbP5zUd5k+rBwlxDOY0VNaWKLvvEhCNdTPckl8peTl+ 3G2ZCnD+4cW3OCP5wyHjjkY= X-Received: by 2002:a05:6602:42ca:b0:783:63ac:25cf with SMTP id ce10-20020a05660242ca00b0078363ac25cfmr1707717iob.7.1690371381281; Wed, 26 Jul 2023 04:36:21 -0700 (PDT) Received: from ws-565760.systec.local ([212.185.67.148]) by smtp.gmail.com with ESMTPSA id i21-20020a02cc55000000b0041627abe120sm4111476jaq.160.2023.07.26.04.36.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 04:36:20 -0700 (PDT) From: werneazc@gmail.com X-Google-Original-From: andre.werner@systec-electronic.com To: jdelvare@suse.com, linux@roeck-us.net, krzysztof.kozlowski+dt@linaro.org Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Andre Werner , kernel test robot Subject: [PATCH] hwmon: (hs3001) Fix unused variable compiler warning Date: Wed, 26 Jul 2023 13:36:05 +0200 Message-ID: <20230726113605.13966-1-andre.werner@systec-electronic.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andre Werner Delete unused variable in drivers probe function. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202307261819.VMDuxZOM-lkp@intel.com/ Signed-off-by: Andre Werner --- --- drivers/hwmon/hs3001.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwmon/hs3001.c b/drivers/hwmon/hs3001.c index 17c3455922eb..9972f6bbb22a 100644 --- a/drivers/hwmon/hs3001.c +++ b/drivers/hwmon/hs3001.c @@ -193,7 +193,6 @@ static int hs3001_probe(struct i2c_client *client) struct hs3001_data *data; struct device *hwmon_dev; struct device *dev = &client->dev; - int ret; if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) return -EOPNOTSUPP; -- 2.41.0