Diff between 6d7bbf76df5aeea4852ff4860df864b9f51a9c0c and 570c9356a987e1b20feb4f3b8dda31e860cc33ba

Changed Files

File Additions Deletions Status
src/shared/hfp.c +0 -12 modified

Full Patch

diff --git a/src/shared/hfp.c b/src/shared/hfp.c
index 196e777..efc981f 100644
--- a/src/shared/hfp.c
+++ b/src/shared/hfp.c
@@ -46,7 +46,6 @@ struct hfp_gw {
 	struct ringbuf *write_buf;
 	struct queue *cmd_handlers;
 	bool writer_active;
-	bool permissive_syntax;
 	bool result_pending;
 	hfp_command_func_t command_callback;
 	hfp_destroy_func_t command_destroy;
@@ -507,7 +506,6 @@ struct hfp_gw *hfp_gw_new(int fd)
 	}
 
 	hfp->writer_active = false;
-	hfp->permissive_syntax = false;
 	hfp->result_pending = false;
 
 	return hfp_gw_ref(hfp);
@@ -610,16 +608,6 @@ bool hfp_gw_set_close_on_unref(struct hfp_gw *hfp, bool do_close)
 	return true;
 }
 
-bool hfp_gw_set_permissive_syntax(struct hfp_gw *hfp, bool permissive)
-{
-	if (!hfp)
-		return false;
-
-	hfp->permissive_syntax = permissive;
-
-	return true;
-}
-
 bool hfp_gw_send_result(struct hfp_gw *hfp, enum hfp_result result)
 {
 	const char *str;