kern/182847: Remove dead code

Sven-Thorsten Dietrich sven at vyatta.com
Wed Oct 9 03:10:01 UTC 2013


>Number:         182847
>Category:       kern
>Synopsis:       Remove dead code
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 09 03:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sven-Thorsten Dietrich
>Release:        HEAD
>Organization:
Vyatta
>Environment:
N/A
>Description:
Remove #if 0 dead code
>How-To-Repeat:

>Fix:
Apply patch.

Is there a better way to submit patches - this is really tedious through this web interface,

Patch attached with submission follows:

Signed-off-by: Sven-Thorsten Dietrich <sven at vyatta.com>
Index: netinet6/ip6_mroute.h
===================================================================
--- netinet6/ip6_mroute.h	(revision 256126)
+++ netinet6/ip6_mroute.h	(working copy)
@@ -145,11 +145,6 @@
 struct omrt6msg {
 	u_long	    unused1;
 	u_char	    im6_msgtype;		/* what type of message	    */
-#if 0
-#define MRT6MSG_NOCACHE	1
-#define MRT6MSG_WRONGMIF	2
-#define MRT6MSG_WHOLEPKT	3		/* used for user level encap*/
-#endif
 	u_char	    im6_mbz;			/* must be zero		    */
 	u_char	    im6_mif;			/* mif rec'd on		    */
 	u_char	    unused2;


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list