Commit f82686ef authored by Matthew Brost's avatar Matthew Brost Committed by Rodrigo Vivi

drm/xe: remove header variable from parse_g2h_msg

The header variable is unused, remove it.
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Suggested-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarMatthew Brost <matthew.brost@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 99fea682
...@@ -829,12 +829,11 @@ static int parse_g2h_response(struct xe_guc_ct *ct, u32 *msg, u32 len) ...@@ -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) static int parse_g2h_msg(struct xe_guc_ct *ct, u32 *msg, u32 len)
{ {
struct xe_device *xe = ct_to_xe(ct); struct xe_device *xe = ct_to_xe(ct);
u32 header, hxg, origin, type; u32 hxg, origin, type;
int ret; int ret;
lockdep_assert_held(&ct->lock); lockdep_assert_held(&ct->lock);
header = msg[0];
hxg = msg[1]; hxg = msg[1];
origin = FIELD_GET(GUC_HXG_MSG_0_ORIGIN, hxg); origin = FIELD_GET(GUC_HXG_MSG_0_ORIGIN, hxg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment