ARM: uaccess: remove put_user() code duplication
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 4 Feb 2016 16:54:45 +0000 (16:54 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 22 Jun 2016 18:55:11 +0000 (19:55 +0100)
commit9f73bd8bb445e0cbe4bcef6d4cfc788f1e184007
treee252451345e484c135113d8274fdc8437cf9377b
parent9f85eae622cd9b63dc44b7dcfa958b3881a09cbb
ARM: uaccess: remove put_user() code duplication

Remove the code duplication between put_user() and __put_user().  The
code which selected the implementation based upon the pointer size, and
declared the local variable to hold the value to be put are common to
both implementations.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/uaccess.h