Commit 49b0a15c authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] kNFSd: minor knfsd cleanups

o don't define __NO_VERSION__ (no use in 2.4/2.5)
o don't include <linux/version.h>
parent 72e56221
......@@ -15,7 +15,6 @@
#include <linux/fcntl.h>
#include <linux/net.h>
#include <linux/in.h>
#include <linux/version.h>
#include <linux/unistd.h>
#include <linux/slab.h>
#include <linux/major.h>
......
......@@ -8,7 +8,6 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/linkage.h>
#include <linux/time.h>
......
......@@ -16,7 +16,6 @@
#include <linux/net.h>
#include <linux/in.h>
#include <linux/namei.h>
#include <linux/version.h>
#include <linux/unistd.h>
#include <linux/slab.h>
......
......@@ -8,7 +8,6 @@
* Copyright (C) 1995, 1996, 1997 Olaf Kirch <okir@monad.swb.de>
*/
#define __NO_VERSION__
#include <linux/config.h>
#include <linux/module.h>
......@@ -17,7 +16,6 @@
#include <linux/nfs.h>
#include <linux/in.h>
#include <linux/uio.h>
#include <linux/version.h>
#include <linux/unistd.h>
#include <linux/slab.h>
#include <linux/smp.h>
......
......@@ -27,7 +27,6 @@
#include <linux/time.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
#define __NO_VERSION__
#include <linux/module.h>
#include <linux/sunrpc/svc.h>
......
......@@ -16,7 +16,6 @@
*/
#include <linux/config.h>
#include <linux/version.h>
#include <linux/string.h>
#include <linux/time.h>
#include <linux/errno.h>
......@@ -30,7 +29,6 @@
#include <linux/unistd.h>
#include <linux/slab.h>
#include <linux/in.h>
#define __NO_VERSION__
#include <linux/module.h>
#include <linux/namei.h>
......
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