summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/nbt_server/nbt_server.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/nbt_server/nbt_server.c b/source4/nbt_server/nbt_server.c
index 603ec2a583..6e4acba115 100644
--- a/source4/nbt_server/nbt_server.c
+++ b/source4/nbt_server/nbt_server.c
@@ -33,9 +33,6 @@ static void nbt_request_handler(struct nbt_name_socket *nbtsock,
struct nbt_name_packet *packet,
const char *src_address, int src_port)
{
- struct nbt_interface *iface = talloc_get_type(nbtsock->incoming.private,
- struct nbt_interface);
-
switch (packet->operation & NBT_OPCODE) {
case NBT_OPCODE_QUERY:
nbt_request_query(nbtsock, packet, src_address, src_port);