diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2025-12-24 12:20:51 +0100 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-01-07 09:31:04 +0530 |
| commit | 5458989a0e48c2bd51a7d37a04ff6ae489fe5458 (patch) | |
| tree | fea53cc8093e3aaa12188584c841e5611507a8f8 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | e3efbfbfaaaa739072b2756cfb76cd3de6d91c0f (diff) | |
powerpc/uaccess: Remove {allow/prevent}_{read/write/read_write}_{from/to/}_user()
The six following functions have become simple single-line fonctions
that do not have much added value anymore:
- allow_read_from_user()
- allow_write_to_user()
- allow_read_write_user()
- prevent_read_from_user()
- prevent_write_to_user()
- prevent_read_write_user()
Directly call allow_user_access() and prevent_user_access(), it doesn't
reduce the readability and it removes unnecessary middle functions.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/70971f0ba81eab742a120e5bfdeff6b42d08fd98.1766574657.git.chleroy@kernel.org
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
