media: i2c: tvp5150: remove useless variable assignment in tvp5150_set_vbi()
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Fri, 23 Jun 2017 22:37:00 +0000 (19:37 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 24 Jun 2017 22:04:46 +0000 (19:04 -0300)
commitb3d930aaf74f8b248edd7cfe7f35caefeff785bd
treec229b6e3e22d4aa3f62c05a08464afbd5b7be06a
parentd83bc7b644004131185aaa875e52bdcc3cd5f031
media: i2c: tvp5150: remove useless variable assignment in tvp5150_set_vbi()

Value assigned to variable _type_ at line 678 is overwritten at line 688
before it can be used. This makes such variable assignment useless.

Remove this variable assignment and fix some coding style issues.

Addresses-Coverity-ID: 1226968

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/tvp5150.c