diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-21 10:39:48 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-21 11:29:41 +0000 |
commit | 507f72d6d44963cae5d8d4b9da68165f73c6fd36 (patch) | |
tree | b935b36a40866608411bd86a5b177d3bc31d128d /src/common.h | |
parent | c72a67390ea243bf43e2ee4efe237ab88a4615b7 (diff) |
uxa: Remove DPRINTF stubs
It wasn't being used for anything non-trivial and was throwing compiler
warnings, so remove it.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/common.h b/src/common.h index f9f23005..06b2192a 100644 --- a/src/common.h +++ b/src/common.h @@ -51,20 +51,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define PFX __FILE__,__LINE__,__FUNCTION__ #define FUNCTION_NAME __FUNCTION__ -#ifdef I830DEBUG -#define MARKER() ErrorF("\n### %s:%d: >>> %s <<< ###\n\n", \ - __FILE__, __LINE__,__FUNCTION__) -#define DPRINTF I830DPRINTF -#else /* #ifdef I830DEBUG */ -#define MARKER() -#define DPRINTF I830DPRINTF_stub -static inline void -I830DPRINTF_stub(const char *filename, int line, const char *function, - const char *fmt, ...) -{ -} -#endif /* #ifdef I830DEBUG */ - #define KB(x) ((x) * 1024) #define MB(x) ((x) * KB(1024)) @@ -82,9 +68,6 @@ extern void intel_init_scrn(ScrnInfoPtr scrn); /* Symbol lists shared by the i810 and i830 parts. */ extern int I830EntityIndex; -extern void I830DPRINTF_stub(const char *filename, int line, - const char *function, const char *fmt, ...); - #ifdef _I830_H_ #define PrintErrorState i830_dump_error_state #define WaitRingFunc I830WaitLpRing |