summaryrefslogtreecommitdiff
path: root/include/linux/errname.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/errname.h')
-rw-r--r--include/linux/errname.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/errname.h b/include/linux/errname.h
deleted file mode 100644
index 443d5040..00000000
--- a/include/linux/errname.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef _LINUX_ERRNAME_H
-#define _LINUX_ERRNAME_H
-
-#include <string.h>
-
-static inline const char *errname(int err)
-{
- return strerror(abs(err));
-}
-
-#endif /* _LINUX_ERRNAME_H */