summaryrefslogtreecommitdiff
path: root/include/linux/err.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2020-04-21 19:36:03 +0300
committerTony Lindgren <tony@atomide.com>2020-04-21 19:36:03 +0300
commit175ae3ad59ab3459652bd2ae3bbc1785aeba1bf3 (patch)
treec7fd682de61e3c2a6cc3ba0e8881b99fafdf969c /include/linux/err.h
parent07bdc492cff6f555538df95e9812fe72e16d154a (diff)
parent90d4d3f4ea45370d482fa609dbae4d2281b4074f (diff)
downloadlinux-175ae3ad59ab3459652bd2ae3bbc1785aeba1bf3.tar.xz
Merge branch 'fixes-v5.7' into fixes
Diffstat (limited to 'include/linux/err.h')
-rw-r--r--include/linux/err.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/err.h b/include/linux/err.h
index 87be24350e91..a139c64aef2a 100644
--- a/include/linux/err.h
+++ b/include/linux/err.h
@@ -62,9 +62,6 @@ static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr)
return 0;
}
-/* Deprecated */
-#define PTR_RET(p) PTR_ERR_OR_ZERO(p)
-
#endif
#endif /* _LINUX_ERR_H */