aboutsummaryrefslogtreecommitdiffstats
path: root/sys/cam/nvme/nvme_da.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-03-20 13:14:10 +0000
committerWarner Losh <imp@FreeBSD.org>2018-03-20 13:14:10 +0000
commit400326b667622a97ce4d0d8f12e8ae1bfa93c75f (patch)
tree466918ac53b3ef39c19915afcbb33b09c5cdbaa7 /sys/cam/nvme/nvme_da.c
parentafdbfe1e1b5a47db04854f2656357e8aa1505d28 (diff)
downloadsrc-400326b667622a97ce4d0d8f12e8ae1bfa93c75f.tar.gz
src-400326b667622a97ce4d0d8f12e8ae1bfa93c75f.zip
Kill assert I shouldn't have committed
Notes
Notes: svn path=/head/; revision=331240
Diffstat (limited to 'sys/cam/nvme/nvme_da.c')
-rw-r--r--sys/cam/nvme/nvme_da.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/cam/nvme/nvme_da.c b/sys/cam/nvme/nvme_da.c
index 072410736c99..5ebd2034c66e 100644
--- a/sys/cam/nvme/nvme_da.c
+++ b/sys/cam/nvme/nvme_da.c
@@ -218,8 +218,6 @@ static void
nda_nvme_trim(struct nda_softc *softc, struct ccb_nvmeio *nvmeio,
void *payload, uint32_t num_ranges)
{
- KASSERT(num_ranges * sizeof(struct nvme_dsm_range) < NVME_MAX_DSM_TRIM);
-
cam_fill_nvmeio(nvmeio,
0, /* retries */
ndadone, /* cbfcnp */