summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2010-04-27 16:18:50 +0300
committerTiago Vignatti <tiago.vignatti@nokia.com>2010-05-18 13:53:11 +0300
commit9db63e4766bde07ebc375c4390bcc5c854b46ac3 (patch)
tree52c0a7facf61700270020dd71ec757b42b2e94a9
parentcba9942f7716b12c329616a9994c5bce857617fa (diff)
render: removed unused macro from animcursor
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--render/animcur.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/render/animcur.c b/render/animcur.c
index d207bcc76..f1e86f292 100644
--- a/render/animcur.c
+++ b/render/animcur.c
@@ -98,7 +98,6 @@ static DevPrivateKey AnimCurScreenPrivateKey = &AnimCurScreenPrivateKeyIndex;
#define IsAnimCur(c) ((c) && ((c)->bits == &animCursorBits))
#define GetAnimCur(c) ((AnimCurPtr) ((c) + 1))
#define GetAnimCurScreen(s) ((AnimCurScreenPtr)dixLookupPrivate(&(s)->devPrivates, AnimCurScreenPrivateKey))
-#define GetAnimCurScreenIfSet(s) GetAnimCurScreen(s)
#define SetAnimCurScreen(s,p) dixSetPrivate(&(s)->devPrivates, AnimCurScreenPrivateKey, p)
#define Wrap(as,s,elt,func) (((as)->elt = (s)->elt), (s)->elt = func)
@@ -375,7 +374,7 @@ AnimCursorCreate (CursorPtr *cursors, CARD32 *deltas, int ncursor, CursorPtr *pp
AnimCurPtr ac;
for (i = 0; i < screenInfo.numScreens; i++)
- if (!GetAnimCurScreenIfSet (screenInfo.screens[i]))
+ if (!GetAnimCurScreen (screenInfo.screens[i]))
return BadImplementation;
for (i = 0; i < ncursor; i++)