summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Dawes <dawes@xfree86.org>2002-02-13 16:37:09 +0000
committerDavid Dawes <dawes@xfree86.org>2002-02-13 16:37:09 +0000
commitd779dbfb8b2f97561350a936462e9f5a50ed3f78 (patch)
tree301e1f16df0d0d1b2ca9c8e174a5bd415140dabd
parent96003499f7c856baf89c85303e04df066ee33af1 (diff)
Remove ; from the end of some do { ... } while(0) macros (Timothy Ball).
-rw-r--r--linux-core/i810_dma.c2
-rw-r--r--linux-core/i830_dma.c2
-rw-r--r--linux/i810_dma.c2
-rw-r--r--linux/i830_dma.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/linux-core/i810_dma.c b/linux-core/i810_dma.c
index 10c219fa6..4f4341999 100644
--- a/linux-core/i810_dma.c
+++ b/linux-core/i810_dma.c
@@ -66,7 +66,7 @@
*(volatile unsigned int *)(virt + outring) = n; \
outring += 4; \
outring &= ringmask; \
-} while (0);
+} while (0)
static inline void i810_print_status_page(drm_device_t *dev)
{
diff --git a/linux-core/i830_dma.c b/linux-core/i830_dma.c
index 661987fb2..69b1c8a32 100644
--- a/linux-core/i830_dma.c
+++ b/linux-core/i830_dma.c
@@ -91,7 +91,7 @@ do { \
*(volatile unsigned int *)(virt + outring) = n; \
outring += 4; \
outring &= ringmask; \
-} while (0);
+} while (0)
static inline void i830_print_status_page(drm_device_t *dev)
{
diff --git a/linux/i810_dma.c b/linux/i810_dma.c
index 10c219fa6..4f4341999 100644
--- a/linux/i810_dma.c
+++ b/linux/i810_dma.c
@@ -66,7 +66,7 @@
*(volatile unsigned int *)(virt + outring) = n; \
outring += 4; \
outring &= ringmask; \
-} while (0);
+} while (0)
static inline void i810_print_status_page(drm_device_t *dev)
{
diff --git a/linux/i830_dma.c b/linux/i830_dma.c
index 661987fb2..69b1c8a32 100644
--- a/linux/i830_dma.c
+++ b/linux/i830_dma.c
@@ -91,7 +91,7 @@ do { \
*(volatile unsigned int *)(virt + outring) = n; \
outring += 4; \
outring &= ringmask; \
-} while (0);
+} while (0)
static inline void i830_print_status_page(drm_device_t *dev)
{