diff mbox

[10/13] i830_memory: kill field "pitch"

Message ID 25c9668d24ab522a66b1551bab77613f992c30f9.1267517278.git.daniel.vetter@ffwll.ch (mailing list archive)
State Deferred, archived
Headers show

Commit Message

Daniel Vetter March 2, 2010, 8:22 a.m. UTC
None
diff mbox

Patch

diff --git a/src/i830.h b/src/i830.h
index de85f0d..f531786 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -179,9 +179,6 @@  typedef struct _I830OutputRec I830OutputRec, *I830OutputPtr;
 /** Record of a linear allocation in the aperture. */
 typedef struct _i830_memory i830_memory;
 struct _i830_memory {
-	/** Pitch value in bytes for tiled surfaces */
-	unsigned int pitch;
-
 	/** Description of the allocation, for logging */
 	char *name;
 
diff --git a/src/i830_memory.c b/src/i830_memory.c
index 434ec38..97ba500 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -275,8 +275,6 @@  i830_memory *i830_allocate_memory(ScrnInfoPtr scrn, const char *name,
 		return NULL;
 	}
 
-	mem->pitch = pitch;
-
 	ret = drm_intel_bo_set_tiling(mem->bo, &tiling_mode, pitch);
 	if (ret != 0 || tiling_mode != requested_tiling_mode) {
 		xf86DrvMsg(scrn->scrnIndex, X_ERROR,