From d779dbfb8b2f97561350a936462e9f5a50ed3f78 Mon Sep 17 00:00:00 2001 From: David Dawes Date: Wed, 13 Feb 2002 16:37:09 +0000 Subject: [PATCH] Remove ; from the end of some do { ... } while(0) macros (Timothy Ball). --- linux-core/i810_dma.c | 2 +- linux-core/i830_dma.c | 2 +- linux/i810_dma.c | 2 +- linux/i830_dma.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/linux-core/i810_dma.c b/linux-core/i810_dma.c index 10c219fa..4f434199 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 661987fb..69b1c8a3 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 10c219fa..4f434199 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 661987fb..69b1c8a3 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) {