commit | ac9e59cad7b0b699b2aa9a104eb22ed67a560e02 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Thu Apr 18 12:17:38 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 19 10:20:41 2013 -0700 |
tree | 9de461b53f426632ef4be810f6eade869bd2b1ba | |
parent | c33c888b585fd9ed3770e91588480a0b74e82ad0 [diff] |
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>