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)
commitdd6dbe8d7e312238cc0ad0b907042a96b0505d44
tree2cc5d50bbe9675a972da272d3b6e04e378da2d92
parent9215f6bb4705ffe205885411394732bfc439dee0
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