Displaying 1 result from an estimated 1 matches for "__rtrs_clt_change_state".
2020 Sep 09
17
[trivial PATCH] treewide: Convert switch/case fallthrough; to break;
...1AB_3:
case PCI_DEVICE_ID_INTEL_82801AA_3:
diff --git a/drivers/infiniband/ulp/rtrs/rtrs-clt.c b/drivers/infiniband/ulp/rtrs/rtrs-clt.c
index 776e89231c52..55339cad408a 100644
--- a/drivers/infiniband/ulp/rtrs/rtrs-clt.c
+++ b/drivers/infiniband/ulp/rtrs/rtrs-clt.c
@@ -209,7 +209,7 @@ static bool __rtrs_clt_change_state(struct rtrs_clt_sess *sess,
switch (old_state) {
case RTRS_CLT_RECONNECTING:
changed = true;
- fallthrough;
+ break;
default:
break;
}
@@ -220,7 +220,7 @@ static bool __rtrs_clt_change_state(struct rtrs_clt_sess *sess,
case RTRS_CLT_CONNECTING_ERR:
case RTRS_CLT_CLOSED...