Skip to contentSkip to conversation

Remove PTR_RET

PATCH New Gustavo A. R. Silva 1 participant 1 message Jul 27, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove PTR_RET

The last instances of PTR_RET have been replaced with PTR_ERR_OR_ZERO.

We can completely remove PTR_RET from the codebase now.

---
 include/linux/err.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/err.h +0 -3
index 87be243..a139c64 100644
@@ -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 */
Signature · 1 line
2.7.4