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

omapfb/dss: remove unused variable 'venc_config_pal_bdghi'

drivers/video/fbdev/omap2/omapfb/dss/venc.c:212:33:
warning: ‘venc_config_pal_bdghi’ defined but not used [-Wunused-const-variable=]
static const struct venc_config venc_config_pal_bdghi = {
^~~~~~~~~~~~~~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Cc: Allison Randal <allison@lohutok.net>
[b.zolnierkie: fixed typo in the patch summary]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200415132350.33088-1-yuehaibing@huawei.com

authored by

YueHaibing and committed by
Bartlomiej Zolnierkiewicz
fff1ac9e 1c49f35e

-43
-43
drivers/video/fbdev/omap2/omapfb/dss/venc.c
··· 209 209 .gen_ctrl = 0x00F90000, 210 210 }; 211 211 212 - static const struct venc_config venc_config_pal_bdghi = { 213 - .f_control = 0, 214 - .vidout_ctrl = 0, 215 - .sync_ctrl = 0, 216 - .hfltr_ctrl = 0, 217 - .x_color = 0, 218 - .line21 = 0, 219 - .ln_sel = 21, 220 - .htrigger_vtrigger = 0, 221 - .tvdetgp_int_start_stop_x = 0x00140001, 222 - .tvdetgp_int_start_stop_y = 0x00010001, 223 - .gen_ctrl = 0x00FB0000, 224 - 225 - .llen = 864-1, 226 - .flens = 625-1, 227 - .cc_carr_wss_carr = 0x2F7625ED, 228 - .c_phase = 0xDF, 229 - .gain_u = 0x111, 230 - .gain_v = 0x181, 231 - .gain_y = 0x140, 232 - .black_level = 0x3e, 233 - .blank_level = 0x3e, 234 - .m_control = 0<<2 | 1<<1, 235 - .bstamp_wss_data = 0x42, 236 - .s_carr = 0x2a098acb, 237 - .l21__wc_ctl = 0<<13 | 0x16<<8 | 0<<0, 238 - .savid__eavid = 0x06A70108, 239 - .flen__fal = 23<<16 | 624<<0, 240 - .lal__phase_reset = 2<<17 | 310<<0, 241 - .hs_int_start_stop_x = 0x00920358, 242 - .hs_ext_start_stop_x = 0x000F035F, 243 - .vs_int_start_x = 0x1a7<<16, 244 - .vs_int_stop_x__vs_int_start_y = 0x000601A7, 245 - .vs_int_stop_y__vs_ext_start_x = 0x01AF0036, 246 - .vs_ext_stop_x__vs_ext_start_y = 0x27101af, 247 - .vs_ext_stop_y = 0x05, 248 - .avid_start_stop_x = 0x03530082, 249 - .avid_start_stop_y = 0x0270002E, 250 - .fid_int_start_x__fid_int_start_y = 0x0005008A, 251 - .fid_int_offset_y__fid_ext_start_x = 0x002E0138, 252 - .fid_ext_start_y__fid_ext_offset_y = 0x01380005, 253 - }; 254 - 255 212 const struct omap_video_timings omap_dss_pal_timings = { 256 213 .x_res = 720, 257 214 .y_res = 574,