Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329756
b: refs/heads/master
c: b6f3fef
h: refs/heads/master
v: v3
  • Loading branch information
Suresh Siddha authored and Herbert Xu committed Sep 27, 2012
1 parent 390155f commit cf206c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 35c41db8f9ca76d7ca3cdc9003ac5a53292026be
refs/heads/master: b6f3fefe1fa1e8ea8f6b654e7d552253373cd1c0
6 changes: 0 additions & 6 deletions trunk/crypto/tcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ static int test_cipher_cycles(struct blkcipher_desc *desc, int enc,
int ret = 0;
int i;

local_bh_disable();
local_irq_disable();

/* Warm-up run. */
Expand Down Expand Up @@ -130,7 +129,6 @@ static int test_cipher_cycles(struct blkcipher_desc *desc, int enc,

out:
local_irq_enable();
local_bh_enable();

if (ret == 0)
printk("1 operation in %lu cycles (%d bytes)\n",
Expand Down Expand Up @@ -300,7 +298,6 @@ static int test_hash_cycles_digest(struct hash_desc *desc,
int i;
int ret;

local_bh_disable();
local_irq_disable();

/* Warm-up run. */
Expand All @@ -327,7 +324,6 @@ static int test_hash_cycles_digest(struct hash_desc *desc,

out:
local_irq_enable();
local_bh_enable();

if (ret)
return ret;
Expand All @@ -348,7 +344,6 @@ static int test_hash_cycles(struct hash_desc *desc, struct scatterlist *sg,
if (plen == blen)
return test_hash_cycles_digest(desc, sg, blen, out);

local_bh_disable();
local_irq_disable();

/* Warm-up run. */
Expand Down Expand Up @@ -391,7 +386,6 @@ static int test_hash_cycles(struct hash_desc *desc, struct scatterlist *sg,

out:
local_irq_enable();
local_bh_enable();

if (ret)
return ret;
Expand Down

0 comments on commit cf206c4

Please sign in to comment.