]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Delete unused accessor function
authorjob@openbsd.org <job@openbsd.org>
Mon, 18 Aug 2025 09:16:36 +0000 (09:16 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 29 Aug 2025 03:51:46 +0000 (13:51 +1000)
OK dtucker@

OpenBSD-Commit-ID: 93b59ac088fb254e1189729ece5bb9656d6e810b

packet.c
packet.h

index 34bf91d75e52edadeec370bfc640d4891b8eb178..6dfa7ac31a95a6dd8545178142e6e741e6be674a 100644 (file)
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.321 2025/08/18 04:50:35 djm Exp $ */
+/* $OpenBSD: packet.c,v 1.322 2025/08/18 09:16:36 job Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2254,13 +2254,6 @@ ssh_packet_set_qos(struct ssh *ssh, int qos_interactive, int qos_other)
        apply_qos(ssh);
 }
 
-/* Returns true if the current connection is interactive. */
-int
-ssh_packet_is_interactive(struct ssh *ssh)
-{
-       return ssh->state->interactive_mode;
-}
-
 int
 ssh_packet_set_maxsize(struct ssh *ssh, u_int s)
 {
index 6828476c7923f0e5ccfc4a8b6072bb3a06475ef4..ade3c0f9df6e56ff2f191be74ad626af0a509ff8 100644 (file)
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.h,v 1.100 2025/08/18 03:43:01 djm Exp $ */
+/* $OpenBSD: packet.h,v 1.101 2025/08/18 09:16:36 job Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -112,7 +112,6 @@ void     ssh_packet_set_protocol_flags(struct ssh *, u_int);
 u_int   ssh_packet_get_protocol_flags(struct ssh *);
 void    ssh_packet_set_tos(struct ssh *, int);
 void    ssh_packet_set_interactive(struct ssh *, int);
-int      ssh_packet_is_interactive(struct ssh *);
 void    ssh_packet_set_qos(struct ssh *, int, int);
 void     ssh_packet_set_server(struct ssh *);
 void     ssh_packet_set_authenticated(struct ssh *);