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

Commit f6fb754d authored by Thomas Meyer's avatar Thomas Meyer Committed by Dave Airlie
Browse files

drm/cma: Cocci spatch "ptr_ret.spatch"



Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f2a5da4f
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -215,10 +215,7 @@ int drm_gem_cma_dumb_create(struct drm_file *file_priv,

	cma_obj = drm_gem_cma_create_with_handle(file_priv, dev,
			args->size, &args->handle);
	if (IS_ERR(cma_obj))
		return PTR_ERR(cma_obj);

	return 0;
	return PTR_RET(cma_obj);
}
EXPORT_SYMBOL_GPL(drm_gem_cma_dumb_create);