s390/lgr: use simple assignment instead of memcpy
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 3 Feb 2022 09:56:07 +0000 (10:56 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Sun, 6 Feb 2022 22:31:29 +0000 (23:31 +0100)
commitba2d394c60ad4b5d70cd449b9e6f6380c2e36a50
tree5c21137ec0920f86312efb6b111c0f04583e11a8
parent9de209c7d584d6e06ad92f120d83d4f27c200497
s390/lgr: use simple assignment instead of memcpy

It is quite pointless to use memcpy to copy two bytes, besides that
this construct will also partially remove type and size sanity checks.

Therefore simply use an assignment.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/lgr.c