diff options
-rw-r--r-- | drivers/crypto/padlock-aes.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/padlock-aes.c b/drivers/crypto/padlock-aes.c index db33d300aa23..29b9469f8378 100644 --- a/drivers/crypto/padlock-aes.c +++ b/drivers/crypto/padlock-aes.c | |||
@@ -508,10 +508,8 @@ static int __init padlock_init(void) | |||
508 | int ret; | 508 | int ret; |
509 | struct cpuinfo_x86 *c = &cpu_data(0); | 509 | struct cpuinfo_x86 *c = &cpu_data(0); |
510 | 510 | ||
511 | if (!cpu_has_xcrypt) { | 511 | if (!cpu_has_xcrypt) |
512 | printk(KERN_NOTICE PFX "VIA PadLock not detected.\n"); | ||
513 | return -ENODEV; | 512 | return -ENODEV; |
514 | } | ||
515 | 513 | ||
516 | if (!cpu_has_xcrypt_enabled) { | 514 | if (!cpu_has_xcrypt_enabled) { |
517 | printk(KERN_NOTICE PFX "VIA PadLock detected, but not enabled. Hmm, strange...\n"); | 515 | printk(KERN_NOTICE PFX "VIA PadLock detected, but not enabled. Hmm, strange...\n"); |