From 23acde08e95408ae901e4c8b8c0408f21ff24852 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Tue, 25 Jul 2006 20:00:55 +0000 Subject: [PATCH] Remove redundant check committed by accident. --- sys/crypto/via/padlock_cipher.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/crypto/via/padlock_cipher.c b/sys/crypto/via/padlock_cipher.c index 6b1862184e39..698eb8bd5889 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,