aboutsummaryrefslogtreecommitdiffstats
path: root/tests/zfs-tests
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-06-15 14:26:43 -0400
committerBrian Behlendorf <[email protected]>2020-06-18 12:21:18 -0700
commitc3fe42aabd9f8879500437e2be2968b47e8b6797 (patch)
treef2a66702cabdeba3772e36bcfb0a43ef41404e79 /tests/zfs-tests
parent65c7cc49bfcf49d38fc84552a17d7e8a3268e58e (diff)
Remove dead code
Delete unused functions. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10470
Diffstat (limited to 'tests/zfs-tests')
-rw-r--r--tests/zfs-tests/tests/functional/checksum/sha2_test.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/zfs-tests/tests/functional/checksum/sha2_test.c b/tests/zfs-tests/tests/functional/checksum/sha2_test.c
index 25a8d2bf3..5800002a6 100644
--- a/tests/zfs-tests/tests/functional/checksum/sha2_test.c
+++ b/tests/zfs-tests/tests/functional/checksum/sha2_test.c
@@ -172,20 +172,6 @@ const uint8_t sha512_256_test_digests[][32] = {
}
};
-/*
- * Local reimplementation of cmn_err, since it's used in sha2.c.
- */
-/*ARGSUSED*/
-void
-cmn_err(int level, char *format, ...)
-{
- va_list ap;
- va_start(ap, format);
- /* LINTED: E_SEC_PRINTF_VAR_FMT */
- (void) vfprintf(stderr, format, ap);
- va_end(ap);
-}
-
int
main(int argc, char *argv[])
{