OSDN Git Service

metag/usercopy: Drop unused macros
authorJames Hogan <james.hogan@imgtec.com>
Fri, 31 Mar 2017 09:37:44 +0000 (10:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Apr 2017 10:38:34 +0000 (12:38 +0200)
commitce962cf480331380d7eb3c8e3c625a975e0aa38f
treeae2a84910206d4ee9b89c10be474a7c00d776a11
parent5cc244782dabaee110ed9c3900d40cd4b481a517
metag/usercopy: Drop unused macros

commit ef62a2d81f73d9cddef14bc3d9097a57010d551c upstream.

Metag's lib/usercopy.c has a bunch of copy_from_user macros for larger
copies between 5 and 16 bytes which are completely unused. Before fixing
zeroing lets drop these macros so there is less to fix.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-metag@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/metag/lib/usercopy.c