Re: [PATCH] staging: sm750fb: skip unnecessary comparisons

2017-07-02 Thread Greg KH
On Mon, Jul 03, 2017 at 09:26:47AM +0800, Lynn Lei wrote: > introduced early checks to skip unnecessary comparisons when flags set. Why? > > Signed-off-by: Lynn Lei > --- > drivers/staging/sm750fb/sm750.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/dri

[PATCH] staging: sm750fb: skip unnecessary comparisons

2017-07-02 Thread Lynn Lei
introduced early checks to skip unnecessary comparisons when flags set. Signed-off-by: Lynn Lei --- drivers/staging/sm750fb/sm750.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 386d4adcd91d