]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
metag/usercopy: Drop unused macros
authorJames Hogan <james.hogan@imgtec.com>
Fri, 31 Mar 2017 09:37:44 +0000 (10:37 +0100)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 27 Apr 2017 13:04:00 +0000 (10:04 -0300)
commitb2f645eeab8afd839cd22771865c45405c6d4b3b
tree142850c30ee2c8db9f30c0378200e999492ea231
parentade1c50a3bf7b6f7fa20bc03ca8dce80c717a850
metag/usercopy: Drop unused macros

BugLink: http://bugs.launchpad.net/bugs/1682140
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/metag/lib/usercopy.c