From 4f05b53b28cc7a2b868bc13d19d88cd858e759b6 Mon Sep 17 00:00:00 2001 From: Krzysztof Helt Date: Tue, 16 Oct 2007 01:28:48 -0700 Subject: tdfxfb: code improvements This patch improves source code mainly by killing redundant variable loads, reducing number of variables, simplifying conditional branches, etc. Signed-off-by: Krzysztof Helt Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/video/tdfx.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/video') diff --git a/include/video/tdfx.h b/include/video/tdfx.h index e6ab66fc7fc..451bd46bd38 100644 --- a/include/video/tdfx.h +++ b/include/video/tdfx.h @@ -167,8 +167,6 @@ struct banshee_reg { unsigned long clip0max; unsigned long clip1min; unsigned long clip1max; - unsigned long srcbase; - unsigned long dstbase; unsigned long miscinit0; }; @@ -177,7 +175,6 @@ struct tdfx_par { u32 palette[16]; void __iomem *regbase_virt; unsigned long iobase; - u32 baseline; struct { int w, u, d; -- cgit v1.2.3