Skip to content

Commit 7d6763a

Browse files
committed
drm/panfrost: Remove unused variables in panfrost_job_close()
Commit a17d609 ("drm/panfrost: Don't corrupt the queue mutex on open/close") left unused variables behind, thus generating a warning at compilation time. Remove those variables. Fixes: a17d609 ("drm/panfrost: Don't corrupt the queue mutex on open/close") Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Steven Price <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7a60c2d commit 7d6763a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/panfrost/panfrost_job.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,6 @@ int panfrost_job_open(struct panfrost_file_priv *panfrost_priv)
613613

614614
void panfrost_job_close(struct panfrost_file_priv *panfrost_priv)
615615
{
616-
struct panfrost_device *pfdev = panfrost_priv->pfdev;
617-
struct panfrost_job_slot *js = pfdev->js;
618616
int i;
619617

620618
for (i = 0; i < NUM_JOB_SLOTS; i++)

0 commit comments

Comments
 (0)