[PATCH -next] drm: Remove set but not used variable 'gem'
Eric Anholt
eric at anholt.net
Sat Feb 16 00:53:18 UTC 2019
YueHaibing <yuehaibing at huawei.com> writes:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/gpu/drm/vc4/vc4_txp.c: In function 'vc4_txp_connector_atomic_check':
> drivers/gpu/drm/vc4/vc4_txp.c:252:29: warning:
> variable 'gem' set but not used [-Wunused-but-set-variable]
> struct drm_gem_cma_object *gem;
> ^
>
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
Pushed to drm-misc-next. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190215/6d2d3138/attachment.sig>
More information about the dri-devel
mailing list