Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe Remove one of the two bzero calls in RF_Ca...



details:   https://anonhg.NetBSD.org/src/rev/923fce235408
branches:  trunk
changeset: 476066:923fce235408
user:      oster <oster%NetBSD.org@localhost>
date:      Sun Sep 05 01:46:35 1999 +0000

description:
Remove one of the two bzero calls in RF_Calloc -- the 2nd one doesn't
buy us anything at all.

diffstat:

 sys/dev/raidframe/rf_debugMem.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 1c111bfd2c57 -r 923fce235408 sys/dev/raidframe/rf_debugMem.h
--- a/sys/dev/raidframe/rf_debugMem.h   Sun Sep 05 01:26:02 1999 +0000
+++ b/sys/dev/raidframe/rf_debugMem.h   Sun Sep 05 01:46:35 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_debugMem.h,v 1.5 1999/09/04 21:11:21 oster Exp $    */
+/*     $NetBSD: rf_debugMem.h,v 1.6 1999/09/05 01:46:35 oster Exp $    */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -64,8 +64,7 @@
 #define RF_Calloc(_p_, _nel_, _elsz_, _cast_)                               \
   {                                                                      \
      RF_Malloc( _p_, (_nel_) * (_elsz_), _cast_);                           \
-     bzero( (_p_), (_nel_) * (_elsz_) );                                 \
-   }
+  }
 
 #define RF_CallocAndAdd(__p,__nel,__elsz,__cast,__alist)                     \
   {                                                                       \



Home | Main Index | Thread Index | Old Index