Message ID | 20210924114505.20416-3-W_Armin@gmx.de (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | hwmon: (dell-smm) Support additional attributes | expand |
On Friday 24 September 2021 13:45:05 W_Armin@gmx.de wrote: > From: Armin Wolf <W_Armin@gmx.de> > > sched.h and io.h are not used anywhere in dell-smm-hwmon.c. > > Signed-off-by: Armin Wolf <W_Armin@gmx.de> Reviewed-by: Pali Rohár <pali@kernel.org> sched.h is not used anymore as driver now calls smp_call_on_cpu() function. > --- > drivers/hwmon/dell-smm-hwmon.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c > index d7d8da4a63db..30be7e5574a3 100644 > --- a/drivers/hwmon/dell-smm-hwmon.c > +++ b/drivers/hwmon/dell-smm-hwmon.c > @@ -26,8 +26,6 @@ > #include <linux/mutex.h> > #include <linux/hwmon.h> > #include <linux/uaccess.h> > -#include <linux/io.h> > -#include <linux/sched.h> > #include <linux/ctype.h> > #include <linux/smp.h> > > -- > 2.20.1 >
diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c index d7d8da4a63db..30be7e5574a3 100644 --- a/drivers/hwmon/dell-smm-hwmon.c +++ b/drivers/hwmon/dell-smm-hwmon.c @@ -26,8 +26,6 @@ #include <linux/mutex.h> #include <linux/hwmon.h> #include <linux/uaccess.h> -#include <linux/io.h> -#include <linux/sched.h> #include <linux/ctype.h> #include <linux/smp.h>