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

2018-01-18 Thread Daniel Stone
Hi, On 16 January 2018 at 14:34, Pekka Paalanen wrote: > On Wed, 20 Dec 2017 12:26:24 + > Daniel Stone wrote: >> Calling switch_mode with no output or mode never makes any sense. Drop >> the NULL checks. >> >> Signed-off-by: Daniel Stone >> --- >> libweston/compositor-drm.c | 23 +-

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

2018-01-16 Thread Pekka Paalanen
On Wed, 20 Dec 2017 12:26:24 + Daniel Stone wrote: > Calling switch_mode with no output or mode never makes any sense. Drop > the NULL checks. > > Signed-off-by: Daniel Stone > --- > libweston/compositor-drm.c | 23 +-- > 1 file changed, 5 insertions(+), 18 deletions(-)

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

2017-12-20 Thread Daniel Stone
Calling switch_mode with no output or mode never makes any sense. Drop the NULL checks. Signed-off-by: Daniel Stone --- libweston/compositor-drm.c | 23 +-- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c