ipa: remove bogus driver_name parameter from ipa_client_create
This parameter is not required since the line that we pass as
parameter already has one driver attached.
diff --git a/src/input/ipa.c b/src/input/ipa.c
index b9bde68..83863f5 100644
--- a/src/input/ipa.c
+++ b/src/input/ipa.c
@@ -205,7 +205,7 @@
static void ipa_link_timer_cb(void *data);
struct ipa_client_link *
-ipa_client_link_create(void *ctx, struct e1inp_ts *ts, const char *driver_name,
+ipa_client_link_create(void *ctx, struct e1inp_ts *ts,
int priv_nr, const char *addr, uint16_t port,
int (*connect_cb)(struct ipa_client_link *link),
int (*read_cb)(struct ipa_client_link *link,
@@ -220,14 +220,10 @@
return NULL;
if (ts) {
- struct e1inp_driver *driver;
-
- driver = e1inp_driver_find(driver_name);
- if (driver == NULL) {
+ if (ts->line->driver == NULL) {
talloc_free(ipa_link);
return NULL;
}
- ts->line->driver = driver;
ipa_link->ofd = &ts->driver.ipaccess.fd;
} else {
ipa_link->ofd = talloc_zero(ctx, struct osmo_fd);