From 4c790f614ecba1f6468e51779cfaf0e36b6b17ad Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Sat, 6 Jan 2007 08:21:36 -0800 Subject: More sparse cleanups: NULL vs. 0 make some variables static remove redundant variables There are only a few sparse warnings left now: some bitfield warnings and a few 'mixing code and declarations' warnings from the ring macros. --- src/i830_rotate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/i830_rotate.c') diff --git a/src/i830_rotate.c b/src/i830_rotate.c index 9fa3290a..2afd712d 100644 --- a/src/i830_rotate.c +++ b/src/i830_rotate.c @@ -827,7 +827,7 @@ I830Rotate(ScrnInfoPtr pScrn, DisplayModePtr mode) if (pI830->rotation != RR_Rotate_0) shadowAdd (pScrn->pScreen, (*pScrn->pScreen->GetScreenPixmap) (pScrn->pScreen), - func, I830WindowLinear, pI830->rotation, 0); + func, I830WindowLinear, pI830->rotation, NULL); if (I830IsPrimary(pScrn)) { if (pI830->rotation != RR_Rotate_0) @@ -1045,7 +1045,7 @@ BAIL0: if (pI830->rotation != RR_Rotate_0) shadowAdd (pScrn->pScreen, (*pScrn->pScreen->GetScreenPixmap) (pScrn->pScreen), - func, I830WindowLinear, pI830->rotation, 0); + func, I830WindowLinear, pI830->rotation, NULL); if (I830IsPrimary(pScrn)) { if (pI830->rotation != RR_Rotate_0) -- cgit v1.2.3