diff options
author | James Lentini <jlentini@netapp.com> | 2006-08-29 00:12:04 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-23 00:22:44 +0200 |
commit | 2b3e258e5dd1938e2708eb5354ad8ba056fe8154 (patch) | |
tree | fde0892c0d1de71584c6350eca6cc13d0107d845 /drivers/infiniband | |
parent | IB/mad: Add support for dual-sided RMPP transfers. (diff) | |
download | linux-2b3e258e5dd1938e2708eb5354ad8ba056fe8154.tar.xz linux-2b3e258e5dd1938e2708eb5354ad8ba056fe8154.zip |
IB/mad: Remove unused includes
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/mad_priv.h | 1 | ||||
-rw-r--r-- | drivers/infiniband/core/mad_rmpp.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/core/mad_priv.h b/drivers/infiniband/core/mad_priv.h index d147f3bad2ce..1da9adbccaec 100644 --- a/drivers/infiniband/core/mad_priv.h +++ b/drivers/infiniband/core/mad_priv.h @@ -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> diff --git a/drivers/infiniband/core/mad_rmpp.c b/drivers/infiniband/core/mad_rmpp.c index 74fe1af9b18a..3ace5f492dc4 100644 --- a/drivers/infiniband/core/mad_rmpp.c +++ b/drivers/infiniband/core/mad_rmpp.c @@ -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" |