drivers/crypto/ccp/sev-dev.c: get rid of pointless access_ok()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 23 Apr 2020 02:56:59 +0000 (22:56 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 29 May 2020 15:05:54 +0000 (11:05 -0400)
commit835ae3bb530a2e40dd5615c3728d4a78320f6fb8
treebb079664b2ef6bc56f40690a37b5198c148ea865
parent9053fc91e3e9609c36904b98a4befa2988d98301
drivers/crypto/ccp/sev-dev.c: get rid of pointless access_ok()

Contrary to the comments, those do *NOT* verify anything about
writability of memory, etc.

In all cases addresses are passed only to copy_to_user().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/crypto/ccp/sev-dev.c