i965: Drop unnecessary bo->align field.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 26 Mar 2018 23:10:02 +0000 (16:10 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 28 Mar 2018 01:41:44 +0000 (18:41 -0700)
commitfb18d0dbe42150af57c562cea08eed10be6efaa5
treec90d8ca4968178c9c68f22b33da35c71eb763ec1
parent037d738a23d626f23107f7190592d575aabe17fd
i965: Drop unnecessary bo->align field.

bo->align is always 0; there's no need to waste 8 bytes storing it.
Thanks to C99 initializers zeroing fields, we can completely drop the
only read of the field altogether.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_bufmgr.c
src/mesa/drivers/dri/i965/brw_bufmgr.h
src/mesa/drivers/dri/i965/intel_batchbuffer.c