Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Since we now only allocate this one, no longer neces...
details: https://anonhg.NetBSD.org/src/rev/a35ed27c7fc7
branches: trunk
changeset: 481872:a35ed27c7fc7
user: enami <enami%NetBSD.org@localhost>
date: Tue Feb 08 12:56:00 2000 +0000
description:
Since we now only allocate this one, no longer necessary to check and free().
diffstat:
sys/dev/ccd.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r f33696228b47 -r a35ed27c7fc7 sys/dev/ccd.c
--- a/sys/dev/ccd.c Tue Feb 08 12:51:30 2000 +0000
+++ b/sys/dev/ccd.c Tue Feb 08 12:56:00 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ccd.c,v 1.65 1999/11/15 18:49:08 fvdl Exp $ */
+/* $NetBSD: ccd.c,v 1.66 2000/02/08 12:56:00 enami Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -192,8 +192,6 @@
M_DEVBUF, M_NOWAIT);
if (ccd_softc == NULL) {
printf("WARNING: no memory for concatenated disks\n");
- if (ccd_softc != NULL)
- free(ccd_softc, M_DEVBUF);
return;
}
numccd = num;
Home |
Main Index |
Thread Index |
Old Index