Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135642
b: refs/heads/master
c: 1fbc9f4
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn authored and Martin Schwidefsky committed Mar 26, 2009
1 parent dd5b781 commit 9762f90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: ab640db01013192f6867785a7def7c9d9ec8903d
refs/heads/master: 1fbc9f46a024535d95c3d5f136901decd86b109e
6 changes: 2 additions & 4 deletions trunk/drivers/s390/crypto/zcrypt_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ static void __zcrypt_increase_preference(struct zcrypt_device *zdev)
if (l == zdev->list.prev)
return;
/* Move zdev behind l */
list_del(&zdev->list);
list_add(&zdev->list, l);
list_move(&zdev->list, l);
}

/**
Expand Down Expand Up @@ -157,8 +156,7 @@ static void __zcrypt_decrease_preference(struct zcrypt_device *zdev)
if (l == zdev->list.next)
return;
/* Move zdev before l */
list_del(&zdev->list);
list_add_tail(&zdev->list, l);
list_move_tail(&zdev->list, l);
}

static void zcrypt_device_release(struct kref *kref)
Expand Down

0 comments on commit 9762f90

Please sign in to comment.