lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <385499b6-6022-44d2-9073-b7c7893ddab7@roeck-us.net>
Date:   Wed, 26 Jul 2023 06:43:56 -0700
From:   Guenter Roeck <linux@...ck-us.net>
To:     werneazc@...il.com
Cc:     jdelvare@...e.com, krzysztof.kozlowski+dt@...aro.org,
        linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org,
        Andre Werner <andre.werner@...tec-electronic.com>,
        kernel test robot <lkp@...el.com>
Subject: Re: [PATCH v2] hwmon: (hs3001) Fix unused variable compiler warning

On Wed, Jul 26, 2023 at 03:06:02PM +0200, werneazc@...il.com wrote:
> From: Andre Werner <andre.werner@...tec-electronic.com>
> 
> Delete unused variable in drivers probe function.
> 
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202307261819.VMDuxZOM-lkp@intel.com/
> Signed-off-by: Andre Werner <andre.werner@...tec-electronic.com>

Applied.

Thanks,
Guenter

> ---
> v2: Delete blank line between tags in commit message.
> ---
>  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;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ