]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: vt6655: remove duplicate code
authorEdmundo Carmona Antoranz <eantoranz@gmail.com>
Sun, 14 Mar 2021 14:59:43 +0000 (08:59 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Mar 2021 16:01:46 +0000 (17:01 +0100)
commitebf4824798184d4a86214d570c04cf390c5edfa8
treed36c0662b859939bc96669a4a5bda7670f7435e7
parentc170f1687bcff6ea809725098035a104f13dd6e4
staging: vt6655: remove duplicate code

In the definition of vnt_init_bands(), there are two sections of
code that are very similar. Unifying them through a new
function that takes care of initialization of a single band.

Signed-off-by: Edmundo Carmona Antoranz <eantoranz@gmail.com>
Link: https://lore.kernel.org/r/20210314145943.1933245-3-eantoranz@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/channel.c