Skip to contentSkip to conversation

Clean up duplicate includes in drivers/spi/

PATCH Applied Jesper Juhl 2 participants 3 messages Jul 21, 2007 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 14/37 Clean up duplicate includes in drivers/spi/

Hi,

This patch cleans up duplicate includes in
drivers/spi/

---

drivers/spi/pxa2xx_spi.c +0 -1
index e51311b..16bf66b 100644
@@ -26,7 +26,6 @@
 #include <linux/dma-mapping.h>
 #include <linux/spi/spi.h>
 #include <linux/workqueue.h>
-#include <linux/errno.h>
 #include <linux/delay.h>
 
 #include <asm/io.h>
drivers/spi/spi_bfin5xx.c +0 -1
index 48587c2..88362b4 100644
@@ -39,7 +39,6 @@
 #include <linux/dma-mapping.h>
 #include <linux/spi/spi.h>
 #include <linux/workqueue.h>
-#include <linux/errno.h>
 #include <linux/delay.h>
 
 #include <asm/io.h>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#1 lore raw
Quoted 7 lines · Jesper Juhl

Hi,

This patch cleans up duplicate includes in
drivers/spi/

ACK ... although, on general principles I suspect there are more needless includes to remove, these are just especially obvious. :)

Quoted 20 lines

---

drivers/spi/pxa2xx_spi.c +0 -1
index e51311b..16bf66b 100644
@@ -26,7 +26,6 @@
 #include <linux/dma-mapping.h>
 #include <linux/spi/spi.h>
 #include <linux/workqueue.h>
-#include <linux/errno.h>
 #include <linux/delay.h>
 
 #include <asm/io.h>
drivers/spi/spi_bfin5xx.c +0 -0
index 48587c2..88362b4 100644

drivers/spi/spi_bfin5xx.c line 44

Quoted 7 lines
drivers/spi/spi_bfin5xx.c +0 -1
@@ -39,7 +39,6 @@
 #include <linux/dma-mapping.h>
 #include <linux/spi/spi.h>
 #include <linux/workqueue.h>
-#include <linux/errno.h>
 #include <linux/delay.h>
 
 #include <asm/io.h>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

#2 lore raw
Quoted 12 lines · David Brownell
Quoted 7 lines · Jesper Juhl

Hi,

This patch cleans up duplicate includes in
drivers/spi/

ACK ... although, on general principles I suspect there are more needless includes to remove, these are just especially obvious. :)

Yup. This patch series just removes the bulk of the low hanging fruit
- there's still more to do for an enterprising janitor in need of a task. But you have to start somewhere :-)

Signature · 9 lines
Jesper Juhl <[email protected]>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/