diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 01:28:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:15 -0700 |
commit | 4f05b53b28cc7a2b868bc13d19d88cd858e759b6 (patch) | |
tree | 9f4bcdd3aff5d00523e25d080c4677bc98e5b18d /include/video/tdfx.h | |
parent | 9d775e17b5b9a204a0cb746f1f7f6ef11f4d869d (diff) | |
download | kernel_samsung_espresso10-4f05b53b28cc7a2b868bc13d19d88cd858e759b6.zip kernel_samsung_espresso10-4f05b53b28cc7a2b868bc13d19d88cd858e759b6.tar.gz kernel_samsung_espresso10-4f05b53b28cc7a2b868bc13d19d88cd858e759b6.tar.bz2 |
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/tdfx.h')
-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 e6ab66f..451bd46 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; |