[Libva] [PATCH Intel-VA] Clean up never used local variable 'i965'
Lim Siew Hoon
siew.hoon.lim at intel.com
Wed Aug 26 03:07:12 PDT 2015
Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
---
src/gen6_mfc.c | 1 -
src/gen75_mfc.c | 1 -
src/gen8_mfc.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/src/gen6_mfc.c b/src/gen6_mfc.c
index 1b4fc71..acefc97 100644
--- a/src/gen6_mfc.c
+++ b/src/gen6_mfc.c
@@ -872,7 +872,6 @@ gen6_mfc_avc_software_batchbuffer(VADriverContextP ctx,
struct encode_state *encode_state,
struct intel_encoder_context *encoder_context)
{
- struct i965_driver_data *i965 = i965_driver_data(ctx);
struct gen6_mfc_context *mfc_context = encoder_context->mfc_context;
struct intel_batchbuffer *batch;;
dri_bo *batch_bo;
diff --git a/src/gen75_mfc.c b/src/gen75_mfc.c
index db5f382..0985215 100644
--- a/src/gen75_mfc.c
+++ b/src/gen75_mfc.c
@@ -1249,7 +1249,6 @@ gen75_mfc_avc_software_batchbuffer(VADriverContextP ctx,
struct intel_encoder_context *encoder_context)
{
struct gen6_mfc_context *mfc_context = encoder_context->mfc_context;
- struct i965_driver_data *i965 = i965_driver_data(ctx);
struct intel_batchbuffer *batch;
dri_bo *batch_bo;
int i;
diff --git a/src/gen8_mfc.c b/src/gen8_mfc.c
index 2da27a4..7574e00 100644
--- a/src/gen8_mfc.c
+++ b/src/gen8_mfc.c
@@ -1191,7 +1191,6 @@ gen8_mfc_avc_software_batchbuffer(VADriverContextP ctx,
struct intel_encoder_context *encoder_context)
{
struct gen6_mfc_context *mfc_context = encoder_context->mfc_context;
- struct i965_driver_data *i965 = i965_driver_data(ctx);
struct intel_batchbuffer *batch;
dri_bo *batch_bo;
int i;
--
2.1.0
More information about the Libva
mailing list