Searched hist:"08 d40c1d57b7127cfdebbc0648b57d54e38f2ba7" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hwmon/ |
H A D | nct6775-platform.c | diff 08d40c1d57b7127cfdebbc0648b57d54e38f2ba7 Fri Feb 17 20:16:00 CET 2023 Andy Shevchenko <andriy.shevchenko@linux.intel.com> hwmon: (nct6775) Drop unneeded casting and conjunction
The 64-bit result will be cut to 32-bit automatically (by compiler) due to the type of the destination value. No need to have an explicit casting and especially additional conjunction which does the same.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230217191600.24837-1-andriy.shevchenko@linux.intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|