USB: usbtmc: remove unnecessary memory allocation
authorMing Lei <ming.lei@canonical.com>
Thu, 18 Apr 2013 04:17:38 +0000 (12:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Apr 2013 17:20:41 +0000 (10:20 -0700)
commitac9e59cad7b0b699b2aa9a104eb22ed67a560e02
tree9de461b53f426632ef4be810f6eade869bd2b1ba
parentc33c888b585fd9ed3770e91588480a0b74e82ad0
USB: usbtmc: remove unnecessary memory allocation

Inside usbtmc_ioctl_clear_out_halt()/usbtmc_ioctl_clear_in_halt(),
usb_clear_halt() needn't any buffer to pass in, so remove the
unnecessary memory allocation.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/usbtmc.c