[media] media: radio: wl128x: fmdrv_rx.c: Remove unused function
Remove the function fm_rx_get_rds_system() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
4c036c4ffa
commit
58fc0461f6
2 changed files with 0 additions and 17 deletions
|
@ -785,22 +785,6 @@ int fm_rx_set_rds_system(struct fmdev *fmdev, u8 rds_mode)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* Returns current RDS operation mode */
|
||||
int fm_rx_get_rds_system(struct fmdev *fmdev, u8 *rds_mode)
|
||||
{
|
||||
if (fmdev->curr_fmmode != FM_MODE_RX)
|
||||
return -EPERM;
|
||||
|
||||
if (rds_mode == NULL) {
|
||||
fmerr("Invalid memory\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
*rds_mode = fmdev->rx.rds_mode;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Configures Alternate Frequency switch mode */
|
||||
int fm_rx_set_af_switch(struct fmdev *fmdev, u8 af_mode)
|
||||
{
|
||||
|
|
|
@ -40,7 +40,6 @@ void fm_rx_reset_station_info(struct fmdev *);
|
|||
int fm_rx_seek(struct fmdev *, u32, u32, u32);
|
||||
|
||||
int fm_rx_get_rds_mode(struct fmdev *, u8 *);
|
||||
int fm_rx_get_rds_system(struct fmdev *, u8 *);
|
||||
int fm_rx_get_mute_mode(struct fmdev *, u8 *);
|
||||
int fm_rx_get_volume(struct fmdev *, u16 *);
|
||||
int fm_rx_get_band_freq_range(struct fmdev *,
|
||||
|
|
Loading…
Reference in a new issue