hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/crypto/internal/scompress.h
....@@ -1,15 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Synchronous Compression operations
34 *
45 * Copyright 2015 LG Electronics Inc.
56 * Copyright (c) 2016, Intel Corporation
67 * Author: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License as published by the Free
10
- * Software Foundation; either version 2 of the License, or (at your option)
11
- * any later version.
12
- *
138 */
149 #ifndef _CRYPTO_SCOMP_INT_H
1510 #define _CRYPTO_SCOMP_INT_H
....@@ -117,10 +112,8 @@
117112 * compression algorithm
118113 *
119114 * @alg: algorithm definition
120
- *
121
- * Return: zero on success; error code in case of error
122115 */
123
-int crypto_unregister_scomp(struct scomp_alg *alg);
116
+void crypto_unregister_scomp(struct scomp_alg *alg);
124117
125118 int crypto_register_scomps(struct scomp_alg *algs, int count);
126119 void crypto_unregister_scomps(struct scomp_alg *algs, int count);