diff mbox series

[2/5] drivers/video: drop unused limits

Message ID dc79bf966c2079b42d62483b5a5e985ef5a36e50.1557154206.git-series.marmarek@invisiblethingslab.com (mailing list archive)
State Superseded
Headers show
Series Fixes for large framebuffer, placed above 4GB | expand

Commit Message

Marek Marczykowski-Górecki May 6, 2019, 2:50 p.m. UTC
MAX_BPP, MAX_FONT_W, MAX_FONT_H are not used in the code at all.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
---
 xen/drivers/video/lfb.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Andrew Cooper May 6, 2019, 3:19 p.m. UTC | #1
On 06/05/2019 15:50, Marek Marczykowski-Górecki wrote:
> MAX_BPP, MAX_FONT_W, MAX_FONT_H are not used in the code at all.
>
> Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Jan Beulich May 7, 2019, 8:52 a.m. UTC | #2
>>> On 06.05.19 at 16:50, <marmarek@invisiblethingslab.com> wrote:
> MAX_BPP, MAX_FONT_W, MAX_FONT_H are not used in the code at all.
> 
> Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>

Suggested-by: Jan Beulich <jbeulich@suse.com>
diff mbox series

Patch

diff --git a/xen/drivers/video/lfb.c b/xen/drivers/video/lfb.c
index d0c8c49..0475a68 100644
--- a/xen/drivers/video/lfb.c
+++ b/xen/drivers/video/lfb.c
@@ -12,9 +12,6 @@ 
 
 #define MAX_XRES 1900
 #define MAX_YRES 1200
-#define MAX_BPP 4
-#define MAX_FONT_W 8
-#define MAX_FONT_H 16
 
 struct lfb_status {
     struct lfb_prop lfbp;