diff options
author | Dave Airlie <Ben Herrenschmidt benh@kernel.crashing.org> | 2006-02-18 16:30:54 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-02-18 16:30:54 +1100 |
commit | 73d72cffe53407e447df0cbb0bf15a2c931108b3 (patch) | |
tree | c6f282d3a45068df28d3891e28303eac8452ff86 | |
parent | 4e5e2e2560aa1d1d01f7af97af2f72706f61da27 (diff) | |
download | linux-3.10-73d72cffe53407e447df0cbb0bf15a2c931108b3.tar.gz linux-3.10-73d72cffe53407e447df0cbb0bf15a2c931108b3.tar.bz2 linux-3.10-73d72cffe53407e447df0cbb0bf15a2c931108b3.zip |
drm: fix brace placement
Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r-- | drivers/char/drm/r300_cmdbuf.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/char/drm/r300_cmdbuf.c b/drivers/char/drm/r300_cmdbuf.c index 6dd21754ba6..c08fa5076f0 100644 --- a/drivers/char/drm/r300_cmdbuf.c +++ b/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)) { 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); } |