V4L/DVB: az6027: remove redundant condition check
authorMárton Németh <nm127@freemail.hu>
Mon, 1 Mar 2010 07:10:52 +0000 (04:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:46:26 +0000 (00:46 -0300)
commit6120792baa00542b5113222b0e09f5e52b510444
tree744fdeab6f6e37bdf21837f2bc9b2e6bb5526803
parent278a58cf2ab6e690fa79ca7e0d466a0cb453296f
V4L/DVB: az6027: remove redundant condition check

The condition (msg[i].addr == 0xd0) is checked twice the second one
is not necessary.

This will remove the following compiler warning:
   az6027.c: In function 'az6027_i2c_xfer':
   az6027.c:942: warning: 'index' may be used uninitialized in this function
   az6027.c:943: warning: 'value' may be used uninitialized in this function
   az6027.c:944: warning: 'length' may be used uninitialized in this function
   az6027.c:945: warning: 'req' may be used uninitialized in this function

Signed-off-by: Márton Németh <nm127@freemail.hu>
Cc: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/az6027.c