]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
IB/mad: Remove unused includes
authorJames Lentini <jlentini@netapp.com>
Mon, 28 Aug 2006 22:12:04 +0000 (15:12 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:44 +0000 (15:22 -0700)
The ib_mad module does not use a kthread function, but mad_priv.h
includes <linux/kthread.h>.  mad_rmpp.c does not do any DMA-related
stuff, but includes <linux/dma-mapping.h>.  Remove the unused includes.

Signed-off-by: James Lentini <jlentini@netapp.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/mad_priv.h
drivers/infiniband/core/mad_rmpp.c

index d147f3bad2ce78f819525d5332b88212b0a452be..1da9adbccaecdbe90ba95dd028fe07cb361a3da6 100644 (file)
@@ -39,7 +39,6 @@
 
 #include <linux/completion.h>
 #include <linux/pci.h>
-#include <linux/kthread.h>
 #include <linux/workqueue.h>
 #include <rdma/ib_mad.h>
 #include <rdma/ib_smi.h>
index 74fe1af9b18aa0c993f3588517df79274f5c4d25..3ace5f492dc4b5b3f78e20829f6b1e3381387f65 100644 (file)
@@ -33,8 +33,6 @@
  * $Id: mad_rmpp.c 1921 2005-03-02 22:58:44Z sean.hefty $
  */
 
-#include <linux/dma-mapping.h>
-
 #include "mad_priv.h"
 #include "mad_rmpp.h"