drm/panfrost: Remove unused scheduled_jobs list
Subsystems (3)
PATCH 1/1 drm/panfrost: Remove unused scheduled_jobs list
The scheduled_jobs list head was introduced in commit f3ba91228e8e ("drm/panfrost: Add initial panfrost driver") but never used. Remove the dead field and its initialization.
--- drivers/gpu/drm/panfrost/panfrost_device.c | 1 - drivers/gpu/drm/panfrost/panfrost_device.h | 1 - 2 files changed, 2 deletions(-)
drivers/gpu/drm/panfrost/panfrost_device.c +0 -1
@@ -218,7 +218,6 @@ int panfrost_device_init(struct panfrost_device *pfdev)int err;mutex_init (&pfdev->sched_lock); -INIT_LIST_HEAD (&pfdev->scheduled_jobs);INIT_LIST_HEAD (&pfdev->as_lru_list);spin_lock_init (&pfdev->as_lock);
drivers/gpu/drm/panfrost/panfrost_device.h +0 -1
@@ -156,7 +156,6 @@ struct panfrost_device {struct panfrost_job_slot *js;struct panfrost_job *jobs[NUM_JOB_SLOTS ][2 ]; -struct list_head scheduled_jobs;struct panfrost_perfcnt *perfcnt;bool profile_mode;
Signature · 1 line
2.54.0
Quoted 36 lines · Maíra Canal
The
scheduled_jobslist head was introduced in commitf3ba91228e8e("drm/panfrost: Add initial panfrost driver") but never used. Remove the dead field and its initialization.Signed-off-by Maíra Canal <[email protected]>--- drivers/gpu/drm/panfrost/panfrost_device.c | 1 - drivers/gpu/drm/panfrost/panfrost_device.h | 1 - 2 files changed, 2 deletions(-)drivers/gpu/drm/panfrost/panfrost_device.c +0
-1@@ -218,7 +218,6 @@ int panfrost_device_init(struct panfrost_device *pfdev)int err;mutex_init (&pfdev->sched_lock); -INIT_LIST_HEAD (&pfdev->scheduled_jobs);INIT_LIST_HEAD (&pfdev->as_lru_list);spin_lock_init (&pfdev->as_lock);drivers/gpu/drm/panfrost/panfrost_device.h +0
-1@@ -156,7 +156,6 @@ struct panfrost_device {struct panfrost_job_slot *js;struct panfrost_job *jobs[NUM_JOB_SLOTS ][2 ]; -struct list_head scheduled_jobs;struct panfrost_perfcnt *perfcnt;bool profile_mode;Signature · 1 line
2.54.0
Adrian Larumbe
Quoted 5 lines · Maíra Canal
The
scheduled_jobslist head was introduced in commitf3ba91228e8e("drm/panfrost: Add initial panfrost driver") but never used. Remove the dead field and its initialization.Signed-off-by Maíra Canal <[email protected]>
Quoted 29 lines
--- drivers/gpu/drm/panfrost/panfrost_device.c | 1 - drivers/gpu/drm/panfrost/panfrost_device.h | 1 - 2 files changed, 2 deletions(-)drivers/gpu/drm/panfrost/panfrost_device.c +0
-1@@ -218,7 +218,6 @@ int panfrost_device_init(struct panfrost_device *pfdev)int err;mutex_init (&pfdev->sched_lock); -INIT_LIST_HEAD (&pfdev->scheduled_jobs);INIT_LIST_HEAD (&pfdev->as_lru_list);spin_lock_init (&pfdev->as_lock);drivers/gpu/drm/panfrost/panfrost_device.h +0
-1@@ -156,7 +156,6 @@ struct panfrost_device {struct panfrost_job_slot *js;struct panfrost_job *jobs[NUM_JOB_SLOTS ][2 ]; -struct list_head scheduled_jobs;struct panfrost_perfcnt *perfcnt;bool profile_mode;
Queued to drm-misc-next.
Quoted 36 lines · Maíra Canal
The
scheduled_jobslist head was introduced in commitf3ba91228e8e("drm/panfrost: Add initial panfrost driver") but never used. Remove the dead field and its initialization.Signed-off-by Maíra Canal <[email protected]>--- drivers/gpu/drm/panfrost/panfrost_device.c | 1 - drivers/gpu/drm/panfrost/panfrost_device.h | 1 - 2 files changed, 2 deletions(-)drivers/gpu/drm/panfrost/panfrost_device.c +0
-1@@ -218,7 +218,6 @@ int panfrost_device_init(struct panfrost_device *pfdev)int err;mutex_init (&pfdev->sched_lock); -INIT_LIST_HEAD (&pfdev->scheduled_jobs);INIT_LIST_HEAD (&pfdev->as_lru_list);spin_lock_init (&pfdev->as_lock);drivers/gpu/drm/panfrost/panfrost_device.h +0
-1@@ -156,7 +156,6 @@ struct panfrost_device {struct panfrost_job_slot *js;struct panfrost_job *jobs[NUM_JOB_SLOTS ][2 ]; -struct list_head scheduled_jobs;struct panfrost_perfcnt *perfcnt;bool profile_mode;Signature · 1 line
2.54.0