]> git.baikalelectronics.ru Git - kernel.git/commit
media: vidtv: cleanup null packet initialization logic
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 20 Nov 2020 10:15:24 +0000 (11:15 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 07:05:23 +0000 (08:05 +0100)
commit3efb37e50cf903c6f61baf0e205972dfc95b3113
tree7067b198750cc8a9a6beff702916797c933e1380
parent364e21c4bff2fee6147b834fe8b1b4ad55772b1a
media: vidtv: cleanup null packet initialization logic

Initialize the destination buffer/size and the initial
offset when creating the local var.

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