]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(st-clock): remove useless switch
authorYann Gautier <yann.gautier@st.com>
Fri, 25 Nov 2022 09:42:52 +0000 (10:42 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 7 Dec 2022 13:18:31 +0000 (14:18 +0100)
commit69a2e320b6798ce3cf5cb27bf70e3384cfac3ebb
treed14a88854c1f9f653161cfb41a403831da38aa6f
parentc3ae7da02dd8b358239dde47c3325e333af81056
fix(st-clock): remove useless switch

This corrects MISRA C2012-16.6:
Every switch statement shall have at least two switch-clauses.
While at it, remove useless rate variable.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I123784e7184dbf4146fd0d7faeffd6a0382fc6a1
drivers/st/clk/clk-stm32-core.c