Commit a600ffcb authored by Boaz Harrosh's avatar Boaz Harrosh Committed by J. Bruce Fields

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: default avatarBoaz Harrosh <bharrosh@panasas.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 4056c9a3
...@@ -28,9 +28,6 @@ ...@@ -28,9 +28,6 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/timer.h>
#include <linux/workqueue.h>
/* /*
* Enable RPC debugging/profiling. * Enable RPC debugging/profiling.
*/ */
......
...@@ -40,6 +40,8 @@ ...@@ -40,6 +40,8 @@
#ifndef _LINUX_SUNRPC_RPC_RDMA_H #ifndef _LINUX_SUNRPC_RPC_RDMA_H
#define _LINUX_SUNRPC_RPC_RDMA_H #define _LINUX_SUNRPC_RPC_RDMA_H
#include <linux/types.h>
struct rpcrdma_segment { struct rpcrdma_segment {
__be32 rs_handle; /* Registered memory handle */ __be32 rs_handle; /* Registered memory handle */
__be32 rs_length; /* Length of the chunk in bytes */ __be32 rs_length; /* Length of the chunk in bytes */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment