[PATCH v14 07/41] compositor-drm: Remove NULL checks in switch_mode

Pekka Paalanen ppaalanen at gmail.com
Tue Jan 16 14:34:17 UTC 2018


On Wed, 20 Dec 2017 12:26:24 +0000
Daniel Stone <daniels at collabora.com> wrote:

> Calling switch_mode with no output or mode never makes any sense. Drop
> the NULL checks.
> 
> Signed-off-by: Daniel Stone <daniels at collabora.com>
> ---
>  libweston/compositor-drm.c | 23 +++++------------------
>  1 file changed, 5 insertions(+), 18 deletions(-)

Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180116/93e798d1/attachment.sig>


More information about the wayland-devel mailing list