All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH] drm/xe: remove header variable from parse_g2h_msg
@ 2023-07-29  4:02 Matthew Brost
  2023-07-29  4:50 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Matthew Brost @ 2023-07-29  4:02 UTC (permalink / raw)
  To: intel-xe

The header variable is unused, remove it.

Suggested-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
---
 drivers/gpu/drm/xe/xe_guc_ct.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c b/drivers/gpu/drm/xe/xe_guc_ct.c
index d322eadbe75a..6c757efa88b8 100644
--- a/drivers/gpu/drm/xe/xe_guc_ct.c
+++ b/drivers/gpu/drm/xe/xe_guc_ct.c
@@ -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);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-08-01 10:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-29  4:02 [Intel-xe] [PATCH] drm/xe: remove header variable from parse_g2h_msg Matthew Brost
2023-07-29  4:50 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
2023-07-29  4:50 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-07-29  4:51 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-07-29  4:55 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-07-29  4:55 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-07-29  4:56 ` [Intel-xe] ✓ CI.checksparse: " Patchwork
2023-07-29  5:30 ` [Intel-xe] ○ CI.BAT: info " Patchwork
2023-07-31 18:08 ` [Intel-xe] [PATCH] " Rodrigo Vivi
2023-08-01  3:37   ` Matthew Brost
2023-08-01 10:38     ` Rodrigo Vivi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.