aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Boll2012-08-28 05:49:45 -0500
committerAndreas Boll2012-10-24 11:25:58 -0500
commitbc494b310d76f701798aee0f2b0b472d608cbfaf (patch)
tree60053ab576c126ede537b6a5807daf81504938e6
parenta4cb7233a8da171e53b48b376be5c1265c29a612 (diff)
downloadlibdrm-bc494b310d76f701798aee0f2b0b472d608cbfaf.tar.gz
libdrm-bc494b310d76f701798aee0f2b0b472d608cbfaf.tar.xz
libdrm-bc494b310d76f701798aee0f2b0b472d608cbfaf.zip
radeon: fix unused-function warning
radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but not used [-Wunused-function] Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--radeon/radeon_cs_gem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c
index 9834bcf1..b9631400 100644
--- a/radeon/radeon_cs_gem.c
+++ b/radeon/radeon_cs_gem.c
@@ -330,6 +330,7 @@ static int cs_gem_end(struct radeon_cs_int *cs,
330 return 0; 330 return 0;
331} 331}
332 332
333#if CS_BOF_DUMP
333static void cs_gem_dump_bof(struct radeon_cs_int *cs) 334static void cs_gem_dump_bof(struct radeon_cs_int *cs)
334{ 335{
335 struct cs_gem *csg = (struct cs_gem*)cs; 336 struct cs_gem *csg = (struct cs_gem*)cs;
@@ -415,6 +416,7 @@ out_err:
415 bof_decref(device_id); 416 bof_decref(device_id);
416 bof_decref(root); 417 bof_decref(root);
417} 418}
419#endif
418 420
419static int cs_gem_emit(struct radeon_cs_int *cs) 421static int cs_gem_emit(struct radeon_cs_int *cs)
420{ 422{