drm/xe: remove header variable from parse_g2h_msg

The header variable is unused, remove it.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Suggested-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
Matthew Brost 2023-07-28 20:53:41 -07:00 committed by Rodrigo Vivi
parent 99fea68288
commit f82686ef74

View File

@ -829,12 +829,11 @@ static int parse_g2h_response(struct xe_guc_ct *ct, u32 *msg, u32 len)
static int parse_g2h_msg(struct xe_guc_ct *ct, u32 *msg, u32 len)
{
struct xe_device *xe = ct_to_xe(ct);
u32 header, hxg, origin, type;
u32 hxg, origin, type;
int ret;
lockdep_assert_held(&ct->lock);
header = msg[0];
hxg = msg[1];
origin = FIELD_GET(GUC_HXG_MSG_0_ORIGIN, hxg);