Skip to contentSkip to conversation

watchdog: octeon: Remove unneeded linux/miscdevice.h include

PATCH In review Corentin Labbe 2 participants 2 messages Dec 15, 2016 – Dec 16, 2016 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: octeon: Remove unneeded linux/miscdevice.h include

watchdog/octeon-wdt-main.c does not use any miscdevice so this patch remove this unnecessary inclusion.

---
 drivers/watchdog/octeon-wdt-main.c | 1 -
 1 file changed, 1 deletion(-)
drivers/watchdog/octeon-wdt-main.c +0 -1
index 529182d..b5cdceb 100644
@@ -56,7 +56,6 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#include <linux/miscdevice.h>
 #include <linux/interrupt.h>
 #include <linux/watchdog.h>
 #include <linux/cpumask.h>
Signature · 1 line
2.10.2
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Corentin Labbe

watchdog/octeon-wdt-main.c does not use any miscdevice so this patch remove this unnecessary inclusion.

Quoted 17 lines
---
 drivers/watchdog/octeon-wdt-main.c | 1 -
 1 file changed, 1 deletion(-)
drivers/watchdog/octeon-wdt-main.c +0 -1
index 529182d..b5cdceb 100644
@@ -56,7 +56,6 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#include <linux/miscdevice.h>
 #include <linux/interrupt.h>
 #include <linux/watchdog.h>
 #include <linux/cpumask.h>