]> git.baikalelectronics.ru Git - kernel.git/commit
media: vidtv: extract the initial CRC value to into a #define
authorDaniel W. S. Almeida <dwlsalmeida@gmail.com>
Sat, 31 Oct 2020 15:05:47 +0000 (16:05 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 06:35:49 +0000 (07:35 +0100)
commitd0d82324c3a3fc6b69bad3517e74382155ebff18
tree2cc5d50bbe9675a972da272d3b6e04e378da2d92
parent5a51286c2dfc79d4e881c2a4c9016af8cb16d44d
media: vidtv: extract the initial CRC value to into a #define

The same constant (0xffffffff) is used in three different functions.

Extract it into a #define to avoid repetition.

Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vidtv/vidtv_psi.c