diff options
author | Márton Németh <nm127@freemail.hu> | 2008-01-24 00:58:57 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-07 00:09:39 -0500 |
commit | 3e684eae586a9b210a4517da5637a255b1ff5a92 (patch) | |
tree | d8703d708e8fd37f0f1a74d9328e2da3faa555fc /drivers/char/drm/r128_drv.h | |
parent | 4d1f78880e9631fb08052dcc8e3341eecea537e0 (diff) |
drm: cleanup DRM_DEBUG() parameters
As DRM_DEBUG macro already prints out the __FUNCTION__ string (see
drivers/char/drm/drmP.h), it is not worth doing this again. At some
other places the ending "\n" was added.
airlied:- I cleaned up a few that this patch missed also
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/r128_drv.h')
-rw-r--r-- | drivers/char/drm/r128_drv.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/drm/r128_drv.h b/drivers/char/drm/r128_drv.h index a53082e9dcc1..011105e51ac6 100644 --- a/drivers/char/drm/r128_drv.h +++ b/drivers/char/drm/r128_drv.h | |||
@@ -462,8 +462,7 @@ do { \ | |||
462 | 462 | ||
463 | #define BEGIN_RING( n ) do { \ | 463 | #define BEGIN_RING( n ) do { \ |
464 | if ( R128_VERBOSE ) { \ | 464 | if ( R128_VERBOSE ) { \ |
465 | DRM_INFO( "BEGIN_RING( %d ) in %s\n", \ | 465 | DRM_INFO( "BEGIN_RING( %d )\n", (n)); \ |
466 | (n), __FUNCTION__ ); \ | ||
467 | } \ | 466 | } \ |
468 | if ( dev_priv->ring.space <= (n) * sizeof(u32) ) { \ | 467 | if ( dev_priv->ring.space <= (n) * sizeof(u32) ) { \ |
469 | COMMIT_RING(); \ | 468 | COMMIT_RING(); \ |