]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 7 Nov 2013 17:03:10 +0000 (15:03 -0200)
commit408679cd3ccfd91a5b63337ec4dd0b6b3d6a6504
treea457a7c6b0ac39681510ddc386c88c38ed6d7174
parent80f93c7b0f4599ffbdac8d964ecd1162b8b618b9
[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