watchdog: remove unneeded inclusion of <uapi/linux/sched/types.h>
authorZhen Lei <thunder.leizhen@huawei.com>
Thu, 27 Aug 2020 06:21:54 +0000 (14:21 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Wed, 14 Oct 2020 13:02:24 +0000 (15:02 +0200)
There has been no reference to "struct sched_param" since
commit 94beddacb53c ("sched,watchdog: Convert to sched_set_fifo()"), so
there's no need to include <uapi/linux/sched/types.h> any more, delete
it.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200827062154.1847-1-thunder.leizhen@huawei.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/watchdog_dev.c

index bcf01af..2946f3a 100644 (file)
@@ -43,8 +43,6 @@
 #include <linux/watchdog.h>    /* For watchdog specific items */
 #include <linux/uaccess.h>     /* For copy_to_user/put_user/... */
 
-#include <uapi/linux/sched/types.h>    /* For struct sched_param */
-
 #include "watchdog_core.h"
 #include "watchdog_pretimeout.h"