diff mbox series

drm/panfrost: Remove unused id_mask from struct panfrost_model

Message ID 20241025140008.385081-1-steven.price@arm.com (mailing list archive)
State New
Headers show
Series drm/panfrost: Remove unused id_mask from struct panfrost_model | expand

Commit Message

Steven Price Oct. 25, 2024, 2 p.m. UTC
The id_mask field of struct panfrost_model has never been used.

Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver")
Signed-off-by: Steven Price <steven.price@arm.com>
---
 drivers/gpu/drm/panfrost/panfrost_gpu.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Boris Brezillon Oct. 25, 2024, 2:10 p.m. UTC | #1
On Fri, 25 Oct 2024 15:00:07 +0100
Steven Price <steven.price@arm.com> wrote:

> The id_mask field of struct panfrost_model has never been used.
> 
> Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver")
> Signed-off-by: Steven Price <steven.price@arm.com>

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>

> ---
>  drivers/gpu/drm/panfrost/panfrost_gpu.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/panfrost/panfrost_gpu.c b/drivers/gpu/drm/panfrost/panfrost_gpu.c
> index f19f918e2330..f5abde3866fb 100644
> --- a/drivers/gpu/drm/panfrost/panfrost_gpu.c
> +++ b/drivers/gpu/drm/panfrost/panfrost_gpu.c
> @@ -177,7 +177,6 @@ static void panfrost_gpu_init_quirks(struct panfrost_device *pfdev)
>  struct panfrost_model {
>  	const char *name;
>  	u32 id;
> -	u32 id_mask;
>  	u64 features;
>  	u64 issues;
>  	struct {
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panfrost/panfrost_gpu.c b/drivers/gpu/drm/panfrost/panfrost_gpu.c
index f19f918e2330..f5abde3866fb 100644
--- a/drivers/gpu/drm/panfrost/panfrost_gpu.c
+++ b/drivers/gpu/drm/panfrost/panfrost_gpu.c
@@ -177,7 +177,6 @@  static void panfrost_gpu_init_quirks(struct panfrost_device *pfdev)
 struct panfrost_model {
 	const char *name;
 	u32 id;
-	u32 id_mask;
 	u64 features;
 	u64 issues;
 	struct {