mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
iio: filter: admv8818: remove redundant else after return
The else in admv8818_init() is unnecessary since the if block already returns after calling admv8818_rfin_band_select() when clkin is present. Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
12b393486c
commit
3d8fedcc62
|
|
@ -695,8 +695,8 @@ static int admv8818_init(struct admv8818_state *st)
|
|||
|
||||
if (st->clkin)
|
||||
return admv8818_rfin_band_select(st);
|
||||
else
|
||||
return 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int admv8818_clk_setup(struct admv8818_state *st)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user