Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 572225be authored by Dave Airlie's avatar Dave Airlie
Browse files

drm: fix return value in auth function



This just fixes up the return value in the drm_auth:remove_magic

Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 7981bf7d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ static int drm_remove_magic(drm_device_t * dev, drm_magic_t magic)

	drm_free(pt, sizeof(*pt), DRM_MEM_MAGIC);

	return -EINVAL;
	return 0;
}

/**