[Replicant] [PATCH 1/6] Remove unused labels

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Tue May 7 13:57:59 UTC 2019


Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 data.c        | 2 --
 gen.c         | 2 --
 ipc.c         | 1 -
 samsung-ril.c | 4 ----
 srs.c         | 3 +--
 5 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/data.c b/data.c
index 1aa69d1..6648728 100644
--- a/data.c
+++ b/data.c
@@ -122,7 +122,6 @@ int ril_data_connection_unregister(struct ril_data_connection *data_connection)
 			break;
 		}
 
-list_continue:
 		list = list->next;
 	}
 
@@ -156,7 +155,6 @@ int ril_data_connection_flush(void)
 
 		list_head_free(list);
 
-list_continue:
 		list = list_next;
 	}
 
diff --git a/gen.c b/gen.c
index 8bfdb13..fdea333 100644
--- a/gen.c
+++ b/gen.c
@@ -90,7 +90,6 @@ int ipc_gen_phone_res_expect_unregister(struct ril_client *client,
 			break;
 		}
 
-list_continue:
 		list = list->next;
 	}
 
@@ -128,7 +127,6 @@ int ipc_gen_phone_res_expect_flush(struct ril_client *client)
 
 		list_head_free(list);
 
-list_continue:
 		list = list_next;
 	}
 
diff --git a/ipc.c b/ipc.c
index b31a060..e791ced 100644
--- a/ipc.c
+++ b/ipc.c
@@ -602,7 +602,6 @@ int ipc_fmt_request_flush(struct ril_client *client)
 
 		list_head_free(list);
 
-list_continue:
 		list = list_next;
 	}
 
diff --git a/samsung-ril.c b/samsung-ril.c
index 8174e72..6a53fe4 100644
--- a/samsung-ril.c
+++ b/samsung-ril.c
@@ -600,7 +600,6 @@ int ril_request_unregister(struct ril_request *request)
 			break;
 		}
 
-list_continue:
 		list = list->next;
 	}
 
@@ -639,7 +638,6 @@ int ril_request_flush(void)
 
 		list_head_free(list);
 
-list_continue:
 		list = list_next;
 	}
 
@@ -983,7 +981,6 @@ int ril_request_data_unregister(struct ril_request_data *request_data)
 			break;
 		}
 
-list_continue:
 		list = list->next;
 	}
 
@@ -1018,7 +1015,6 @@ int ril_request_data_flush(void)
 
 		list_head_free(list);
 
-list_continue:
 		list = list_next;
 	}
 
diff --git a/srs.c b/srs.c
index 38427a2..2a92c51 100644
--- a/srs.c
+++ b/srs.c
@@ -262,7 +262,7 @@ int srs_client_unregister(struct ril_client *ril_client,
 
 			break;
 		}
-list_continue:
+
 		list = list->next;
 	}
 
@@ -300,7 +300,6 @@ int srs_client_flush(struct ril_client *ril_client)
 
 		list_head_free(list);
 
-list_continue:
 		list = list_next;
 	}
 
-- 
2.21.0



More information about the Replicant mailing list