Browse Source

drm: fix brace placement

Signed-off-by: Dave Airlie <airlied@linux.ie>
Dave Airlie 19 years ago
parent
commit
73d72cffe5
1 changed files with 2 additions and 4 deletions
  1. 2 4
      drivers/char/drm/r300_cmdbuf.c

+ 2 - 4
drivers/char/drm/r300_cmdbuf.c

@@ -506,8 +506,7 @@ static __inline__ int r300_emit_bitblt_multi(drm_radeon_private_t *dev_priv,
 			      | RADEON_GMC_DST_PITCH_OFFSET_CNTL)) {
 			      | RADEON_GMC_DST_PITCH_OFFSET_CNTL)) {
 			offset = cmd[2] << 10;
 			offset = cmd[2] << 10;
 			ret = r300_check_offset(dev_priv, offset);
 			ret = r300_check_offset(dev_priv, offset);
-			if (ret)
-			{
+			if (ret) {
 				DRM_ERROR("Invalid bitblt first offset is %08X\n", offset);
 				DRM_ERROR("Invalid bitblt first offset is %08X\n", offset);
 				return DRM_ERR(EINVAL);
 				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)) {
 		    (cmd[1] & RADEON_GMC_DST_PITCH_OFFSET_CNTL)) {
 			offset = cmd[3] << 10;
 			offset = cmd[3] << 10;
 			ret = r300_check_offset(dev_priv, offset);
 			ret = r300_check_offset(dev_priv, offset);
-			if (ret)
-			{
+			if (ret) {
 				DRM_ERROR("Invalid bitblt second offset is %08X\n", offset);
 				DRM_ERROR("Invalid bitblt second offset is %08X\n", offset);
 				return DRM_ERR(EINVAL);
 				return DRM_ERR(EINVAL);
 			}
 			}