From: Hans Verkuil Date: Thu, 12 Mar 2015 07:27:43 +0000 (-0300) Subject: [media] rtl2832: fix compiler warning X-Git-Tag: omap-for-v4.2/o2_dc~62^2~1^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2e37b9b733c720de917aa7616cce3a1c52225eb;p=pandora-kernel.git [media] rtl2832: fix compiler warning >From the daily build: rtl2832.c: In function 'rtl2832_read_status': rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (tmp == 10) { ^ The code is OK, it's just the compiler that cannot figure out what's going on. So just init 'tmp' to 0. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed