[media] r820t: quiet gcc warning on n_ring
authorFengguang Wu <fengguang.wu@intel.com>
Sat, 20 Apr 2013 09:02:16 +0000 (06:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 13:30:54 +0000 (10:30 -0300)
commit619ab8f611e269e12c956361a38a4206cef9155d
tree4a00f6ad33ff99daa2aea0889a4e600ace96b1e5
parentef0c87001c50ade70183b5cccbf573ef28320965
[media] r820t: quiet gcc warning on n_ring

drivers/media/tuners/r820t.c: In function 'r820t_imr':
 drivers/media/tuners/r820t.c:1871:8: warning: 'n_ring' may be used uninitialized in this function [-Wmaybe-uninitialized]
Mauro: This is a FALSE POSITIVE: the loop will always return a value
for n_ring, as the last test will fill it with 15, if the loop fails.

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/tuners/r820t.c