openbsd-ports/net/openafs/patches/patch-src_des_stats_h
todd a54c908a97 unbreak openafs by not compiling the lkm; this is temporary
use one param.i386_obsd.h file to support any release instead of
 adding/removing files each OSrev of OpenBSD
regen patches while here
bump PKGNAME
2007-09-24 19:36:49 +00:00

14 lines
595 B
Plaintext

$OpenBSD: patch-src_des_stats_h,v 1.2 2007/09/24 19:36:49 todd Exp $
--- src/des/stats.h.orig Tue May 31 08:26:01 2005
+++ src/des/stats.h Mon Sep 24 14:03:54 2007
@@ -110,9 +110,6 @@ extern int rxkad_stats_agg(rxkad_stats_t *);
BEGIN \
rxkad_stats_t * rxkad_stats; \
rxkad_stats = ((rxkad_stats_t*)pthread_getspecific(rxkad_stats_key)); \
- if (rxkad_stats == NULL) { \
- assert(((rxkad_stats) = rxkad_thr_stats_init()) != NULL); \
- } \
rxkad_stats->stats_elem += inc_value; \
END
#define SUB_RXKAD_STATS(stats_elem, dec_value) \