From owner-freebsd-net Thu Feb 8 16:46:24 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 9F8B637B65D for ; Thu, 8 Feb 2001 16:46:06 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f190k6K06283; Thu, 8 Feb 2001 16:46:06 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102090046.f190k6K06283@iguana.aciri.org> Subject: dead code in ip_output.c and udp_var.h To: net@freebsd.org Date: Thu, 8 Feb 2001 16:46:06 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org So, ip_output.c contains the following: #ifdef vax #include #endif ... #ifndef vax if (m->m_len % sizeof(int32_t)) goto bad; #endif and maybe it would be the case to remove the first block and the conditionals on the second one. I don't think we plan a port to the vax, am i wrong ? udp_var.h contains a definition of "struct udpcb" and "inptoudpcb()" which are never used anywhere. Again if there are no objections i would like to nuke them. cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message