Skip to content

Commit c93723a

Browse files
jhovoldbroonie
authored andcommitted
ASoC: codecs: wcd934x: drop inline keywords
The compiler is generally better at deciding what functions should be inlined than driver authors are. Drop the bogus inline keyword from two functions that were neither very small or used in a single place. Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20230630142717.5314-6-johan+linaro@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent cb7d60a commit c93723a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sound/soc/codecs/wcd934x.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2642,7 +2642,7 @@ static int wcd934x_mbhc_micb_ctrl_threshold_mic(struct snd_soc_component *compon
26422642
return rc;
26432643
}
26442644

2645-
static inline void wcd934x_mbhc_get_result_params(struct wcd934x_codec *wcd934x,
2645+
static void wcd934x_mbhc_get_result_params(struct wcd934x_codec *wcd934x,
26462646
s16 *d1_a, u16 noff,
26472647
int32_t *zdet)
26482648
{
@@ -2740,8 +2740,8 @@ static void wcd934x_mbhc_zdet_ramp(struct snd_soc_component *component,
27402740
*zr = zdet;
27412741
}
27422742

2743-
static inline void wcd934x_wcd_mbhc_qfuse_cal(struct snd_soc_component *component,
2744-
int32_t *z_val, int flag_l_r)
2743+
static void wcd934x_wcd_mbhc_qfuse_cal(struct snd_soc_component *component,
2744+
int32_t *z_val, int flag_l_r)
27452745
{
27462746
s16 q1;
27472747
int q1_cal;

0 commit comments

Comments
 (0)