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

video: fbdev: aty128fb: remove unused 'sdr_64'

Fix the following gcc warning:

drivers/video/fbdev/aty/aty128fb.c:337:36: warning: ‘sdr_64’ defined but
not used [-Wunused-const-variable=]
static const struct aty128_meminfo sdr_64 = {
^~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200417092318.13978-1-yanaijie@huawei.com

authored by

Jason Yan and committed by
Bartlomiej Zolnierkiewicz
7066fcd5 fff1ac9e

-14
-14
drivers/video/fbdev/aty/aty128fb.c
··· 334 334 .name = "128-bit SDR SGRAM (1:1)", 335 335 }; 336 336 337 - static const struct aty128_meminfo sdr_64 = { 338 - .ML = 4, 339 - .MB = 8, 340 - .Trcd = 3, 341 - .Trp = 3, 342 - .Twr = 1, 343 - .CL = 3, 344 - .Tr2w = 1, 345 - .LoopLatency = 17, 346 - .DspOn = 46, 347 - .Rloop = 17, 348 - .name = "64-bit SDR SGRAM (1:1)", 349 - }; 350 - 351 337 static const struct aty128_meminfo sdr_sgram = { 352 338 .ML = 4, 353 339 .MB = 4,