[Intel-gfx] [PATCH 3/7] drm/leases: Don't init to 0 in drm_master_create
Mika Kuoppala
mika.kuoppala at linux.intel.com
Fri Mar 1 11:30:11 UTC 2019
Daniel Vetter <daniel.vetter at ffwll.ch> writes:
> We kzalloc.
>
> Cc: Keith Packard <keithp at keithp.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> ---
> drivers/gpu/drm/drm_auth.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_auth.c b/drivers/gpu/drm/drm_auth.c
> index 1669c42c40ed..bcf0a5a1018f 100644
> --- a/drivers/gpu/drm/drm_auth.c
> +++ b/drivers/gpu/drm/drm_auth.c
> @@ -109,8 +109,6 @@ struct drm_master *drm_master_create(struct drm_device *dev)
> master->dev = dev;
>
> /* initialize the tree of output resource lessees */
> - master->lessor = NULL;
> - master->lessee_id = 0;
> INIT_LIST_HEAD(&master->lessees);
> INIT_LIST_HEAD(&master->lessee_list);
> idr_init(&master->leases);
> --
> 2.14.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
More information about the Intel-gfx
mailing list