Skip to content

Commit

Permalink
IB/mad: Remove unused includes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Lentini authored and Roland Dreier committed Sep 22, 2006
1 parent 75ab134 commit 2b3e258
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/infiniband/core/mad_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 0 additions & 2 deletions drivers/infiniband/core/mad_rmpp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 2b3e258

Please sign in to comment.