Jelajahi Sumber

msm: ipa: Initialize variable in ipa_test_wdi3

Initialize is_tx1_used in ipa_wdi3_test_multi_transfer3 api.

Change-Id: Iaf11a7469a9a50287944f51567966d3fb691a22c
Signed-off-by: Michael Adisumarta <[email protected]>
Michael Adisumarta 4 tahun lalu
induk
melakukan
18671cbaa5
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      drivers/platform/msm/ipa/test/ipa_test_wdi3.c

+ 1 - 1
drivers/platform/msm/ipa/test/ipa_test_wdi3.c

@@ -2126,7 +2126,7 @@ static int ipa_wdi3_test_multi_transfer3(void *priv)
 {
 	struct ipa_ep_cfg ep_cfg = { {0} };
 	int i;
-	bool is_tx1_used;
+	bool is_tx1_used = false;
 
 	if (ipa_wdi3_test_reg_intf(is_tx1_used)) {
 		IPA_UT_ERR("fail to register intf.\n");