Skip to contentSkip to conversation

Staging: dgnc: Remove unused #include header file

PATCH Superseded Shraddha Barke 2 participants 2 messages Oct 30, 2015 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 Staging: dgnc: Remove unused #include header file

Remove digi.h header since it is not needed.

---
 drivers/staging/dgnc/dgnc_utils.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/dgnc/dgnc_utils.c +0 -1
index f76de82..95272f4 100644
@@ -1,7 +1,6 @@
 #include <linux/tty.h>
 #include <linux/sched.h>
 #include "dgnc_utils.h"
-#include "digi.h"
 
 /*
  * dgnc_ms_sleep()
Signature · 1 line
2.1.4
#1 lore raw
Quoted 1 line · Shraddha Barke

Remove digi.h header since it is not needed.

Here too, it would be nicer to say "since nothing it defines is used in this file".

julia

Quoted 28 lines
---
 drivers/staging/dgnc/dgnc_utils.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/dgnc/dgnc_utils.c +0 -2
index f76de82..95272f4 100644
@@ -1,7 +1,6 @@
 #include <linux/tty.h>
 #include <linux/sched.h>
 #include "dgnc_utils.h"
-#include "digi.h"
 
 /*
  * dgnc_ms_sleep()
--

2.1.4

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1446212156-28978-1-git-send-email-shraddha.6596%40gmail.com.
For more options, visit https://groups.google.com/d/optout.