diff options
author | Weitao Hou <houweitaoo@gmail.com> | 2019-05-23 14:52:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-24 10:53:24 +0300 |
commit | 086ebf92aa791b6cc8805decffca7b8898d99a4e (patch) | |
tree | 623da57e5879fac1bd3b057ea46958ee4ccbfd6c /drivers/media/dvb-frontends/ts2020.c | |
parent | 6e9aed4ed4ca129510fcb1af495391d4717246d6 (diff) | |
download | linux-086ebf92aa791b6cc8805decffca7b8898d99a4e.tar.xz |
usb: avoid redundant allocation and free of memory
If usb is not attached, it's unnessary to allocate, copy
and free memory
Signed-off-by: Weitao Hou <houweitaoo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/dvb-frontends/ts2020.c')
0 files changed, 0 insertions, 0 deletions