]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7056f887cf745159318b598b56113f904f38c1e9
tree9de461b53f426632ef4be810f6eade869bd2b1ba
parent0c1d6256aece25d0c6a31f291046c09a07197b60
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