]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
video: fbdev: aty128fb: remove unused 'sdr_64'
authorJason Yan <yanaijie@huawei.com>
Fri, 17 Apr 2020 09:23:18 +0000 (17:23 +0800)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 17 Apr 2020 13:50:10 +0000 (15:50 +0200)
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
drivers/video/fbdev/aty/aty128fb.c

index d7e41c8dd533c785fa0a55dfaf11faeb88adaebf..d05d4195acade79cef91e9e2a900beab6ab60676 100644 (file)
@@ -334,20 +334,6 @@ static const struct aty128_meminfo sdr_128 = {
        .name = "128-bit SDR SGRAM (1:1)",
 };
 
-static const struct aty128_meminfo sdr_64 = {
-       .ML = 4,
-       .MB = 8,
-       .Trcd = 3,
-       .Trp = 3,
-       .Twr = 1,
-       .CL = 3,
-       .Tr2w = 1,
-       .LoopLatency = 17,
-       .DspOn = 46,
-       .Rloop = 17,
-       .name = "64-bit SDR SGRAM (1:1)",
-};
-
 static const struct aty128_meminfo sdr_sgram = {
        .ML = 4,
        .MB = 4,