diff options
author | Oscar Carter <oscar.carter@gmx.com> | 2020-04-25 17:17:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-28 14:26:29 +0200 |
commit | 10b674be0a0c8a2a819c69786b07e76ab141e7c0 (patch) | |
tree | 83840f4b6d7052165be5cd3ff460c306c723422e /drivers/staging/rtl8723bs | |
parent | staging: vt6656: Use return instead of goto (diff) | |
download | linux-dev-10b674be0a0c8a2a819c69786b07e76ab141e7c0.tar.xz linux-dev-10b674be0a0c8a2a819c69786b07e76ab141e7c0.zip |
staging: vt6656: Remove duplicate code in vnt_rf_table_download
Replace three while loops with three calls to the vnt_control_out_blocks
function. This way avoid repeat a functionality that already exists.
Also remove the variables that now are not used.
Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200425151747.8199-4-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
0 files changed, 0 insertions, 0 deletions