diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-07-27 23:29:21 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-08 04:52:09 +0200 |
commit | 72c849884e71ffc6732aecdaf889d22a4a464f28 (patch) | |
tree | 71f709d9665cfb0127961f2f0db46b6da3c8a77c /lib/string_helpers.c | |
parent | af51c84e19753ec0c9de368816a30bcc4fb90c24 (diff) | |
download | kernel-crypto-72c849884e71ffc6732aecdaf889d22a4a464f28.tar.gz kernel-crypto-72c849884e71ffc6732aecdaf889d22a4a464f28.tar.xz kernel-crypto-72c849884e71ffc6732aecdaf889d22a4a464f28.zip |
Use ncr_lists instead of list_sem_st in intefaces
Should result in no functionality change.
This makes the code marginally more effective (reducing the number of
"&lst->key" and "&lst->sessions" operations in the code, and moving them
toward dereferences where they can be combined with member accesses),
and more type-safe (prevents mixing the key and session list in most
places because they the difference is only in the low-level accessor
functions).
Most importantly, this allows replacing list_sem_st without having to
touch most of the functions again.
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions