diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 04:28:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:15 -0400 |
commit | 4f05b53b28cc7a2b868bc13d19d88cd858e759b6 (patch) | |
tree | 9f4bcdd3aff5d00523e25d080c4677bc98e5b18d /include/video | |
parent | 9d775e17b5b9a204a0cb746f1f7f6ef11f4d869d (diff) |
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 <krzysztof.h1@wp.pl>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/tdfx.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/video/tdfx.h b/include/video/tdfx.h index e6ab66fc7fc8..451bd46bd380 100644 --- a/include/video/tdfx.h +++ b/include/video/tdfx.h | |||
@@ -167,8 +167,6 @@ struct banshee_reg { | |||
167 | unsigned long clip0max; | 167 | unsigned long clip0max; |
168 | unsigned long clip1min; | 168 | unsigned long clip1min; |
169 | unsigned long clip1max; | 169 | unsigned long clip1max; |
170 | unsigned long srcbase; | ||
171 | unsigned long dstbase; | ||
172 | unsigned long miscinit0; | 170 | unsigned long miscinit0; |
173 | }; | 171 | }; |
174 | 172 | ||
@@ -177,7 +175,6 @@ struct tdfx_par { | |||
177 | u32 palette[16]; | 175 | u32 palette[16]; |
178 | void __iomem *regbase_virt; | 176 | void __iomem *regbase_virt; |
179 | unsigned long iobase; | 177 | unsigned long iobase; |
180 | u32 baseline; | ||
181 | 178 | ||
182 | struct { | 179 | struct { |
183 | int w, u, d; | 180 | int w, u, d; |