Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dist/pf/net remove unused expression



details:   https://anonhg.NetBSD.org/src/rev/8369739c8bff
branches:  trunk
changeset: 765070:8369739c8bff
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed May 18 12:54:15 2011 +0000

description:
remove unused expression

diffstat:

 sys/dist/pf/net/pf_osfp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1a475c6e7707 -r 8369739c8bff sys/dist/pf/net/pf_osfp.c
--- a/sys/dist/pf/net/pf_osfp.c Wed May 18 12:53:04 2011 +0000
+++ b/sys/dist/pf/net/pf_osfp.c Wed May 18 12:54:15 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pf_osfp.c,v 1.10 2010/04/12 13:57:38 ahoka Exp $       */
+/*     $NetBSD: pf_osfp.c,v 1.11 2011/05/18 12:54:15 drochner Exp $    */
 /*     $OpenBSD: pf_osfp.c,v 1.12 2006/12/13 18:14:10 itojun Exp $ */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pf_osfp.c,v 1.10 2010/04/12 13:57:38 ahoka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pf_osfp.c,v 1.11 2011/05/18 12:54:15 drochner Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -585,7 +585,7 @@
                if (find.fp_mss == 0)
                        find.fp_mss = 128;
                if (f->fp_flags & PF_OSFP_WSIZE_MSS)
-                       find.fp_wsize *= find.fp_mss, 1;
+                       find.fp_wsize *= find.fp_mss;
                else if (f->fp_flags & PF_OSFP_WSIZE_MTU)
                        find.fp_wsize *= (find.fp_mss + 40);
                else if (f->fp_flags & PF_OSFP_WSIZE_MOD)



Home | Main Index | Thread Index | Old Index