In v4.6, the current_user_ns macro was changed to a function, so the
ifdef doesn't work. To make things easy, this backport is not needed
anymore, since current_user_ns was introduced before v3.0 and we don't
support anything earlier than that.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
+++ /dev/null
-#ifndef __BACKPORT_LINUX_CRED_H
-#define __BACKPORT_LINUX_CRED_H
-#include_next <linux/cred.h>
-#include <linux/version.h>
-
-#ifndef current_user_ns
-#define current_user_ns() (current->nsproxy->user_ns)
-#endif
-
-#endif /* __BACKPORT_LINUX_CRED_H */