aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-09-22 09:30:11 -0700
committerDave Airlie <airlied@redhat.com>2014-09-24 11:42:36 +1000
commit9908fb654088e50d7d528f74898c5e5ebbd0fb68 (patch)
tree14f640b5845f72ad31cfc04abeccbe2ff3c72e3e /include
parent94318d50ffc84a1ebaf1a83a0a56bbbaf415bacf (diff)
drm: change drm_err return type to void
The return value is not used by callers of this function nor by uses of the DRM_ERROR macro so change the function to return void. Signed-off-by: Joe Perches <joe@perches.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 5c60d384b37b..2163ccbee50f 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -124,7 +124,7 @@ extern __printf(2, 3)
void drm_ut_debug_printk(const char *function_name,
const char *format, ...);
extern __printf(2, 3)
-int drm_err(const char *func, const char *format, ...);
+void drm_err(const char *func, const char *format, ...);
/***********************************************************************/
/** \name DRM template customization defaults */