From: werneazc@gmail.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 <andre.werner@systec-electronic.com>,
kernel test robot <lkp@intel.com>
Subject: [PATCH] hwmon: (hs3001) Fix unused variable compiler warning
Date: Wed, 26 Jul 2023 13:36:05 +0200 [thread overview]
Message-ID: <20230726113605.13966-1-andre.werner@systec-electronic.com> (raw)
From: Andre Werner <andre.werner@systec-electronic.com>
Delete unused variable in drivers probe function.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307261819.VMDuxZOM-lkp@intel.com/
Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
---
---
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
next reply other threads:[~2023-07-26 11:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-26 11:36 werneazc [this message]
2023-07-26 12:20 ` Krzysztof Kozlowski
2023-07-26 12:25 ` Krzysztof Kozlowski
2023-07-26 13:06 ` [PATCH v2] " werneazc
2023-07-26 13:43 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230726113605.13966-1-andre.werner@systec-electronic.com \
--to=werneazc@gmail.com \
--cc=andre.werner@systec-electronic.com \
--cc=jdelvare@suse.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lkp@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®