Message ID | 20230726113605.13966-1-andre.werner@systec-electronic.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | hwmon: (hs3001) Fix unused variable compiler warning | expand |
On 26/07/2023 13:36, werneazc@gmail.com wrote: > 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/ > No blank lines between the tags. > Signed-off-by: Andre Werner <andre.werner@systec-electronic.com> Was the original patch actually merged? I don't see it in next. Best regards, Krzysztof
On 26/07/2023 14:20, Krzysztof Kozlowski wrote: > On 26/07/2023 13:36, werneazc@gmail.com wrote: >> 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/ >> > No blank lines between the tags. > >> Signed-off-by: Andre Werner <andre.werner@systec-electronic.com> > > Was the original patch actually merged? I don't see it in next. Ah, I see Guenter's response. Best regards, Krzysztof
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;