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

Daniel Stone daniel at fooishbar.org
Thu Jan 18 12:16:51 UTC 2018


Hi,

On 16 January 2018 at 14:34, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> 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>

As this was already reviewed and trivial, I pushed it just to cut down
on the amount of delta on the patchset. Getting there!

Cheers,
Daniel


More information about the wayland-devel mailing list