Skip to content

Commit

Permalink
sunrpc: Clean never used include files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Boaz Harrosh authored and J. Bruce Fields committed Dec 14, 2009
1 parent 4056c9a commit a600ffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/linux/sunrpc/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@

#ifdef __KERNEL__

#include <linux/timer.h>
#include <linux/workqueue.h>

/*
* Enable RPC debugging/profiling.
*/
Expand Down
2 changes: 2 additions & 0 deletions include/linux/sunrpc/rpc_rdma.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit a600ffc

Please sign in to comment.