Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2001 16:46:06 -0800 (PST)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        net@freebsd.org
Subject:   dead code in ip_output.c and udp_var.h
Message-ID:  <200102090046.f190k6K06283@iguana.aciri.org>

next in thread | raw e-mail | index | archive | help
So, ip_output.c contains the following:

	#ifdef vax
	#include <machine/mtpr.h>
	#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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102090046.f190k6K06283>