From: Mauro Carvalho Chehab Date: Thu, 25 Apr 2013 18:30:40 +0000 (-0300) Subject: [media] dib0090: Fix a warning at dib0090_set_EFUSE X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~104^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=751dc8c7fa706c6bafa0eeee88f22f59987157e0;p=pandora-kernel.git [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 --- Reading git-diff-tree failed