diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-25 15:30:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-25 16:06:55 -0300 |
commit | 751dc8c7fa706c6bafa0eeee88f22f59987157e0 (patch) | |
tree | 274a4aaebdeb551baacb5189de475de34de2d920 /drivers/isdn/act2000 | |
parent | 13122f98c6479ddbfc308eb4253f84aaf4a2b45e (diff) | |
download | linux-stable-751dc8c7fa706c6bafa0eeee88f22f59987157e0.tar.gz linux-stable-751dc8c7fa706c6bafa0eeee88f22f59987157e0.tar.bz2 linux-stable-751dc8c7fa706c6bafa0eeee88f22f59987157e0.zip |
[media] dib0090: Fix a warning at dib0090_set_EFUSE
The check if the values for c, h and n are within the range is
always true, as, if one of this values is out of range, the
previous "if" clauses will default to a value within the
range.
That fixes the following warning:
drivers/media/dvb-frontends/dib0090.c: In function 'dib0090_set_EFUSE':
drivers/media/dvb-frontends/dib0090.c:1545:5: warning: comparison is always true due to limited range of data type [-Wtype-limits]
and makes the code easier to read.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/isdn/act2000')
0 files changed, 0 insertions, 0 deletions