]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/panfrost: Remove unused variables in panfrost_job_close()
authorBoris Brezillon <boris.brezillon@collabora.com>
Sun, 1 Nov 2020 17:38:17 +0000 (18:38 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 3 Nov 2020 08:16:24 +0000 (09:16 +0100)
Commit 7d043265a02c ("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: 7d043265a02c ("drm/panfrost: Don't corrupt the queue mutex on open/close")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201101173817.831769-1-boris.brezillon@collabora.com
drivers/gpu/drm/panfrost/panfrost_job.c

index 4902bc6624c80e24f42c2b9c314d3bad75ecdd2d..e75b7d2192f72e29cb4e471b0814364a8e11f489 100644 (file)
@@ -613,8 +613,6 @@ int panfrost_job_open(struct panfrost_file_priv *panfrost_priv)
 
 void panfrost_job_close(struct panfrost_file_priv *panfrost_priv)
 {
-       struct panfrost_device *pfdev = panfrost_priv->pfdev;
-       struct panfrost_job_slot *js = pfdev->js;
        int i;
 
        for (i = 0; i < NUM_JOB_SLOTS; i++)