Message ID | 1582250430-8872-1-git-send-email-Anson.Huang@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/3] watchdog: imx_sc_wdt: Remove unused includes | expand |
On 2/20/20 6:00 PM, Anson Huang wrote: > There is nothing in use from init.h/reboot.h, remove them. > > Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> > --- > drivers/watchdog/imx_sc_wdt.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/watchdog/imx_sc_wdt.c b/drivers/watchdog/imx_sc_wdt.c > index 8ed89f0..60a3246 100644 > --- a/drivers/watchdog/imx_sc_wdt.c > +++ b/drivers/watchdog/imx_sc_wdt.c > @@ -6,13 +6,11 @@ > #include <linux/arm-smccc.h> > #include <linux/firmware/imx/sci.h> > #include <linux/io.h> > -#include <linux/init.h> > #include <linux/kernel.h> > #include <linux/module.h> > #include <linux/moduleparam.h> > #include <linux/of.h> > #include <linux/platform_device.h> > -#include <linux/reboot.h> > #include <linux/watchdog.h> > > #define DEFAULT_TIMEOUT 60 >
diff --git a/drivers/watchdog/imx_sc_wdt.c b/drivers/watchdog/imx_sc_wdt.c index 8ed89f0..60a3246 100644 --- a/drivers/watchdog/imx_sc_wdt.c +++ b/drivers/watchdog/imx_sc_wdt.c @@ -6,13 +6,11 @@ #include <linux/arm-smccc.h> #include <linux/firmware/imx/sci.h> #include <linux/io.h> -#include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/of.h> #include <linux/platform_device.h> -#include <linux/reboot.h> #include <linux/watchdog.h> #define DEFAULT_TIMEOUT 60
There is nothing in use from init.h/reboot.h, remove them. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> --- drivers/watchdog/imx_sc_wdt.c | 2 -- 1 file changed, 2 deletions(-)