]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: vidtv: avoid data copy when initializing the multiplexer
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 22 Sep 2020 08:28:12 +0000 (10:28 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 06:45:20 +0000 (07:45 +0100)
commit0a33ab1682b44ac0b4128ada7ace9f7a0ef6b59c
tree7bd6659a6130230afb6a6b24a5334af5819385f2
parent0d271a79c702d4b986809cb3acfbe8911bba892e
media: vidtv: avoid data copy when initializing the multiplexer

Initialize the fields of the arguments directly when
declaring it, and pass the args as a pointer, instead of
copying them.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vidtv/vidtv_bridge.c
drivers/media/test-drivers/vidtv/vidtv_mux.c
drivers/media/test-drivers/vidtv/vidtv_mux.h