From 773098d748b002882983a2552a73d7bb416acc79 Mon Sep 17 00:00:00 2001 From: pjd Date: Tue, 25 Jul 2006 20:00:55 +0000 Subject: Remove redundant check committed by accident. --- sys/crypto/via/padlock_cipher.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/crypto') diff --git a/sys/crypto/via/padlock_cipher.c b/sys/crypto/via/padlock_cipher.c index 6b18621..698eb8b 100644 --- a/sys/crypto/via/padlock_cipher.c +++ b/sys/crypto/via/padlock_cipher.c @@ -210,8 +210,6 @@ padlock_cipher_process(struct padlock_session *ses, struct cryptodesc *enccrd, return (ENOMEM); /* Buffer has to be 16 bytes aligned. */ abuf = PADLOCK_ALIGN(buf); - if (!allocated && abuf != buf) - panic("allocated=%d abuf=%p buf=%p", allocated, abuf, buf); if ((enccrd->crd_flags & CRD_F_KEY_EXPLICIT) != 0) { padlock_cipher_key_setup(ses, enccrd->crd_key, -- cgit v1.1