]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
drm: fix brace placement
authorDave Airlie <Ben Herrenschmidt benh@kernel.crashing.org>
Sat, 18 Feb 2006 05:30:54 +0000 (16:30 +1100)
committerDave Airlie <airlied@linux.ie>
Sat, 18 Feb 2006 05:30:54 +0000 (16:30 +1100)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/r300_cmdbuf.c

index 6dd21754ba671986f93476edbfd6b2cc764ba583..c08fa5076f05c50795c507b9e8e157407db19a98 100644 (file)
@@ -506,8 +506,7 @@ static __inline__ int r300_emit_bitblt_multi(drm_radeon_private_t *dev_priv,
                              | RADEON_GMC_DST_PITCH_OFFSET_CNTL)) {
                        offset = cmd[2] << 10;
                        ret = r300_check_offset(dev_priv, offset);
-                       if (ret)
-                       {
+                       if (ret) {
                                DRM_ERROR("Invalid bitblt first offset is %08X\n", offset);
                                return DRM_ERR(EINVAL);
                        }
@@ -517,8 +516,7 @@ static __inline__ int r300_emit_bitblt_multi(drm_radeon_private_t *dev_priv,
                    (cmd[1] & RADEON_GMC_DST_PITCH_OFFSET_CNTL)) {
                        offset = cmd[3] << 10;
                        ret = r300_check_offset(dev_priv, offset);
-                       if (ret)
-                       {
+                       if (ret) {
                                DRM_ERROR("Invalid bitblt second offset is %08X\n", offset);
                                return DRM_ERR(EINVAL);
                        }