mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
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:
parent
99fea68288
commit
f82686ef74
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user