Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] ov13858: remove duplicated const declaration

As reported by gcc:

drivers/media/i2c/ov13858.c:953:20: warning: duplicate const
drivers/media/i2c/ov13858.c:953:14: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
static const const s64 link_freq_menu_items[OV13858_NUM_OF_LINK_FREQS] = {
^~~~~

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

+1 -1
+1 -1
drivers/media/i2c/ov13858.c
··· 950 950 #define OV13858_LINK_FREQ_INDEX_1 1 951 951 952 952 /* Menu items for LINK_FREQ V4L2 control */ 953 - static const const s64 link_freq_menu_items[OV13858_NUM_OF_LINK_FREQS] = { 953 + static const s64 link_freq_menu_items[OV13858_NUM_OF_LINK_FREQS] = { 954 954 OV13858_LINK_FREQ_1080MBPS, 955 955 OV13858_LINK_FREQ_540MBPS 956 956 };