Re: [PATCH] [media] mb86a20s: remove redundant check if val is less than zero

2016-07-15 Thread Colin Ian King
On 15/07/16 16:20, Mauro Carvalho Chehab wrote: > Em Tue, 12 Jul 2016 10:30:51 +0100 > Colin King escreveu: > >> From: Colin Ian King >> >> The result of mb86a20s_readreg(state, 0x0a) & 0xf is always in the range >> 0x00 to 0x0f and can never be negative, so remove the redundant check >> of the

Re: [PATCH] [media] mb86a20s: remove redundant check if val is less than zero

2016-07-15 Thread Mauro Carvalho Chehab
Em Tue, 12 Jul 2016 10:30:51 +0100 Colin King escreveu: > From: Colin Ian King > > The result of mb86a20s_readreg(state, 0x0a) & 0xf is always in the range > 0x00 to 0x0f and can never be negative, so remove the redundant check > of the result being less than zero. > > Signed-off-by: Colin Ian

[PATCH] [media] mb86a20s: remove redundant check if val is less than zero

2016-07-12 Thread Colin King
From: Colin Ian King The result of mb86a20s_readreg(state, 0x0a) & 0xf is always in the range 0x00 to 0x0f and can never be negative, so remove the redundant check of the result being less than zero. Signed-off-by: Colin Ian King --- drivers/media/dvb-frontends/mb86a20s.c | 2 -- 1 file change