sunrpc: Clean never used include files
authorBoaz Harrosh <bharrosh@panasas.com>
Thu, 3 Dec 2009 18:28:35 +0000 (20:28 +0200)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 14 Dec 2009 23:12:08 +0000 (18:12 -0500)
Remove include of two headers never used by this file.
Doing so exposed a missing #include <linux/types.h> in
include/linux/sunrpc/rpc_rdma.h.

I did not see any other users dependency but if exist they
should be fixed since these headers are totally irrelevant
to here.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/sunrpc/debug.h
include/linux/sunrpc/rpc_rdma.h

index 10709cbe96fdb88419a87b15bf32fc81fef7c06a..c2786f20016f9184f0849c2ca9e94636efeaff9e 100644 (file)
@@ -28,9 +28,6 @@
 
 #ifdef __KERNEL__
 
-#include <linux/timer.h>
-#include <linux/workqueue.h>
-
 /*
  * Enable RPC debugging/profiling.
  */
index 87b895d5c786eb0256eae604e9d1efa9979e3756..b78f16b1dea3a0d6a38262e7f1dd3845efce22b6 100644 (file)
@@ -40,6 +40,8 @@
 #ifndef _LINUX_SUNRPC_RPC_RDMA_H
 #define _LINUX_SUNRPC_RPC_RDMA_H
 
+#include <linux/types.h>
+
 struct rpcrdma_segment {
        __be32 rs_handle;       /* Registered memory handle */
        __be32 rs_length;       /* Length of the chunk in bytes */