From: Antoniu Miclaus Date: Fri, 20 Feb 2026 13:33:34 +0000 (+0200) Subject: iio: filter: admv8818: remove redundant else after return X-Git-Tag: v7.1-rc1~17^2~120^2~184 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d8fedcc62b663f6c04b1d172e7298c71bbddb8f;p=thirdparty%2Flinux.git 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 Reviewed-by: Andy Shevchenko Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/filter/admv8818.c b/drivers/iio/filter/admv8818.c index 19f823446cdad..e494fd33911bd 100644 --- a/drivers/iio/filter/admv8818.c +++ b/drivers/iio/filter/admv8818.c @@ -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)