Commit a600ffcbb3743cf1296bee2a41d4824c719d7181

Authored by Boaz Harrosh
Committed by J. Bruce Fields
1 parent 4056c9a344

sunrpc: Clean never used include files

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>

Showing 2 changed files with 2 additions and 3 deletions Side-by-side Diff

include/linux/sunrpc/debug.h
... ... @@ -28,9 +28,6 @@
28 28  
29 29 #ifdef __KERNEL__
30 30  
31   -#include <linux/timer.h>
32   -#include <linux/workqueue.h>
33   -
34 31 /*
35 32 * Enable RPC debugging/profiling.
36 33 */
include/linux/sunrpc/rpc_rdma.h
... ... @@ -40,6 +40,8 @@
40 40 #ifndef _LINUX_SUNRPC_RPC_RDMA_H
41 41 #define _LINUX_SUNRPC_RPC_RDMA_H
42 42  
  43 +#include <linux/types.h>
  44 +
43 45 struct rpcrdma_segment {
44 46 __be32 rs_handle; /* Registered memory handle */
45 47 __be32 rs_length; /* Length of the chunk in bytes */