[media] radio-bcm2048: don't ignore errors
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 12 Oct 2016 11:21:43 +0000 (08:21 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 17 Oct 2016 14:13:36 +0000 (12:13 -0200)
commit1aeb5b615cd10db7324d4e4d167c4916dfeca311
tree522542eb5e0633ab165f27797caa9f5ca8feef09
parent59dde8e70cfb7afbc1b647d7d3440dfb9a78b431
[media] radio-bcm2048: don't ignore errors

Remove this warning:

drivers/staging/media/bcm2048/radio-bcm2048.c: In function 'bcm2048_set_rds_no_lock':
drivers/staging/media/bcm2048/radio-bcm2048.c:467:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]
  int err;
      ^~~

By returning the error code.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/bcm2048/radio-bcm2048.c