diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-07-27 23:29:21 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-07-27 23:29:21 +0200 |
commit | df4c072acb675a4c89882e3c92442978cf94eedd (patch) | |
tree | 00e0559e4e97fc78631912f83f408e074644f601 /scripts/basic/docproc.c | |
parent | 9a2369d426b23f77884b01666370140d10b41c19 (diff) | |
download | kernel-crypto-df4c072acb675a4c89882e3c92442978cf94eedd.tar.gz kernel-crypto-df4c072acb675a4c89882e3c92442978cf94eedd.tar.xz kernel-crypto-df4c072acb675a4c89882e3c92442978cf94eedd.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 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions