hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/lib/libcrc32c.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * CRC32C
34 *@Article{castagnoli-crc,
....@@ -11,7 +12,7 @@
1112 * pages = {},
1213 * month = {June},
1314 *}
14
- * Used by the iSCSI driver, possibly others, and derived from the
15
+ * Used by the iSCSI driver, possibly others, and derived from
1516 * the iscsi-crc.c module of the linux-iscsi driver at
1617 * http://linux-iscsi.sourceforge.net.
1718 *
....@@ -23,12 +24,6 @@
2324 * <endoflist>
2425 *
2526 * Copyright (c) 2004 Cisco Systems, Inc.
26
- *
27
- * This program is free software; you can redistribute it and/or modify it
28
- * under the terms of the GNU General Public License as published by the Free
29
- * Software Foundation; either version 2 of the License, or (at your option)
30
- * any later version.
31
- *
3227 */
3328
3429 #include <crypto/hash.h>
....@@ -47,7 +42,6 @@
4742 int err;
4843
4944 shash->tfm = tfm;
50
- shash->flags = 0;
5145 *ctx = crc;
5246
5347 err = crypto_shash_update(shash, address, length);