diff options
| author | Daniel Vetter <[email protected]> | 2019-02-28 14:49:06 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2019-04-24 09:29:06 +0000 |
| commit | 4285c7e1aaad6ffe5520b36047a28fc960e32482 (patch) | |
| tree | 76d2787f3938f8e5a92967c1323c9cbf1d2a2e79 /drivers/gpu/drm/drm_auth.c | |
| parent | drm/lease: Drop recursive leads checks (diff) | |
| download | kernel-4285c7e1aaad6ffe5520b36047a28fc960e32482.tar.gz kernel-4285c7e1aaad6ffe5520b36047a28fc960e32482.zip | |
drm/leases: Don't init to 0 in drm_master_create
We kzalloc.
Cc: Keith Packard <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_auth.c')
| -rw-r--r-- | drivers/gpu/drm/drm_auth.c | 2 |
1 files changed, 0 insertions, 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); |
