Remove patty_ax25_sock_mode_set()

This commit is contained in:
XANTRONIX Development 2020-07-19 20:19:50 -04:00 committed by XANTRONIX Industrial
parent 754baabf11
commit 8b741cadc8
2 changed files with 0 additions and 14 deletions

View file

@ -94,9 +94,6 @@ void patty_ax25_sock_destroy(patty_ax25_sock *sock);
int patty_ax25_sock_params_set(patty_ax25_sock *sock,
patty_ax25_params *params);
int patty_ax25_sock_mode_set(patty_ax25_sock *sock,
enum patty_ax25_sock_mode mode);
char *patty_ax25_sock_pty(patty_ax25_sock *sock);
int patty_ax25_sock_bind_if(patty_ax25_sock *sock,

View file

@ -239,17 +239,6 @@ error_invalid:
return -1;
}
int patty_ax25_sock_mode_set(patty_ax25_sock *sock,
enum patty_ax25_sock_mode mode) {
if (sock->mode == mode) {
return 0;
}
sock->mode = mode;
return 0;
}
char *patty_ax25_sock_pty(patty_ax25_sock *sock) {
return sock->path;
}