[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:12:57 +0000 (12:12 -0200)
commit43ea43b9d8b27b7acd443ec59319faa3cdb8a616
treecd4081193ac536fd5e2830caf2593c88660e5dfd
parentaea983801c6b5e4e9af333a32220d580a77f6783
[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