[PATCH] nfs: Only include nfs42.h when NFS_V4_2 enable

From: Wang Qing
Date: Sat Nov 21 2020 - 02:20:56 EST


Remove duplicate header unnecessary.
Only include nfs42.h when NFS_V4_2 enable.

Signed-off-by: Wang Qing <wangqing@xxxxxxxx>
---
fs/nfs/nfs4proc.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 9e0ca9b..a1321a5 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -67,7 +67,6 @@
#include "nfs4idmap.h"
#include "nfs4session.h"
#include "fscache.h"
-#include "nfs42.h"

#include "nfs4trace.h"

--
2.7.4