diff options
| author | joerg <joerg@NetBSD.org> | 2011-08-27 23:31:12 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2011-08-27 23:31:12 +0000 |
| commit | 81247ef8af1a8cf5d1ba099732c67db0c00a98ea (patch) | |
| tree | f2ac2a19bcbb74733c912872f5407fa4a0b54fc3 /sys/dev/dm | |
| parent | 697a41c3e421b16419238404fe4e4984f2b87ab1 (diff) | |
Revert last, assertions on undefined variables don't make sense.
Diffstat (limited to 'sys/dev/dm')
| -rw-r--r-- | sys/dev/dm/dm_target.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/dm/dm_target.c b/sys/dev/dm/dm_target.c index 0bf0580093d..609b0256982 100644 --- a/sys/dev/dm/dm_target.c +++ b/sys/dev/dm/dm_target.c @@ -1,4 +1,4 @@ -/* $NetBSD: dm_target.c,v 1.16 2011/08/27 17:06:08 ahoka Exp $ */ +/* $NetBSD: dm_target.c,v 1.17 2011/08/27 23:31:12 joerg Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -150,16 +150,6 @@ dm_target_insert(dm_target_t * dm_target) { dm_target_t *dmt; - /* Sanity check for any missing function */ - KASSERT(dmt->init != NULL); - KASSERT(dmt->status != NULL); - KASSERT(dmt->strategy != NULL); - KASSERT(dmt->deps != NULL); - KASSERT(dmt->destroy != NULL); - KASSERT(dmt->upcall != NULL); - KASSERT(dmt->sync != NULL); - KASSERT(dmt->secsize != NULL); - mutex_enter(&dm_target_mutex); dmt = dm_target_lookup_name(dm_target->name); |
