[igt-dev] [PATCH 3/7] drm/leases: Don't init to 0 in drm_master_create

Dave Airlie airlied at gmail.com
Fri Mar 29 04:47:55 UTC 2019


On Thu, 14 Mar 2019 at 17:56, Boris Brezillon
<boris.brezillon at collabora.com> wrote:
>
> On Thu, 28 Feb 2019 15:49:06 +0100
> Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
>
> > We kzalloc.
> >
> > Cc: Keith Packard <keithp at keithp.com>
> > Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>
> Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>

Reviewed-by: Dave Airlie <airlied at redhat.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);
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the igt-dev mailing list