mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 18:12:26 -04:00
s390/zcrypt: simplify message type handling
Now that the message type modules are linked with the zcrypt_api into a single module the zcrypt_ops_list is initialized by the module init function of the zcyppt.ko module. After that the list is static and all message types are present. Drop the zcrypt_ops_list_lock spinlock and the module handling in regard to the message types. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
@@ -133,8 +133,7 @@ int zcrypt_device_register(struct zcrypt_device *);
|
||||
void zcrypt_device_unregister(struct zcrypt_device *);
|
||||
void zcrypt_msgtype_register(struct zcrypt_ops *);
|
||||
void zcrypt_msgtype_unregister(struct zcrypt_ops *);
|
||||
struct zcrypt_ops *zcrypt_msgtype_request(unsigned char *, int);
|
||||
void zcrypt_msgtype_release(struct zcrypt_ops *);
|
||||
struct zcrypt_ops *zcrypt_msgtype(unsigned char *, int);
|
||||
int zcrypt_api_init(void);
|
||||
void zcrypt_api_exit(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user