* [PATCH linux-next] Remove PTR_RET
@ 2018-07-27 22:27 Gustavo A. R. Silva
0 siblings, 0 replies; only message in thread
From: Gustavo A. R. Silva @ 2018-07-27 22:27 UTC (permalink / raw)
To: Julia Lawall, Thomas Gleixner, Greg Kroah-Hartman
Cc: linux-kernel, Gustavo A. R. Silva
The last instances of PTR_RET have been replaced with PTR_ERR_OR_ZERO.
We can completely remove PTR_RET from the codebase now.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
---
include/linux/err.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/linux/err.h b/include/linux/err.h
index 87be243..a139c64 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 */
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-27 22:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-27 22:27 [PATCH linux-next] Remove PTR_RET Gustavo A. R. Silva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).