Skip to content

Commit

Permalink
nfs: remove unnecessary NFS_NEED_* defines
Browse files Browse the repository at this point in the history
Thanks to Robert Day for pointing out that these two defines are unused.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Trond Myklebust <trond@netapp.com>Trond Myklebust <trond@netapp.com>
Cc: Neil Brown <neilb@suse.de>
Cc: "Robert P. J. Day" <rpjday@crashcourse.ca>
  • Loading branch information
J. Bruce Fields committed Apr 23, 2008
1 parent f15364b commit 065f30e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion fs/nfs/symlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* nfs symlink handling code
*/

#define NFS_NEED_XDR_TYPES
#include <linux/time.h>
#include <linux/errno.h>
#include <linux/sunrpc/clnt.h>
Expand Down
2 changes: 1 addition & 1 deletion include/linux/nfs3.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct nfs3_fh {
#define MOUNTPROC3_UMNTALL 4


#if defined(__KERNEL__) || defined(NFS_NEED_KERNEL_TYPES)
#if defined(__KERNEL__)

/* Number of 32bit words in post_op_attr */
#define NFS3_POST_OP_ATTR_WORDS 22
Expand Down

0 comments on commit 065f30e

Please sign in to comment.