upstream: [media] tda9887: remove an warning when compiling for alpha
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 1 Nov 2013 15:40:40 +0000 (12:40 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:39 +0000 (14:26 +0900)
commit302d7cfd70c248d6d01eb95b74dd51d8ae1443a3
tree97a64499dc0b6106731fd57c75fdaeca50ab1b75
parent660088fe8e87c4bcb8498a820a664e5cbd1564ce
upstream: [media] tda9887: remove an warning when compiling for alpha

There's no need to zero the buffer, as if the routine gets an error,
rc will be different than one.
That fixes the following warning:
drivers/media/tuners/tda9887.c: In function 'tda9887_status':
drivers/media/tuners/tda9887.c:539:2: warning: value computed is not used [-Wunused-value]
While here, make fix the CodingStyle on this function.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/tda9887.c