Skip to content

Commit c14e853

Browse files
committed
lib/crc16_kunit: delete obsolete crc16_kunit.c
This new test showed up in v6.13-rc1. Delete it since it is being superseded by crc_kunit.c, which is more comprehensive (tests multiple CRC variants without duplicating code, includes a benchmark, etc.). Cc: Vinicius Peixoto <vpeixoto@lkcamp.dev> Link: https://lore.kernel.org/r/20241202012056.209768-10-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
1 parent e47d9b1 commit c14e853

File tree

3 files changed

+0
-165
lines changed

3 files changed

+0
-165
lines changed

lib/Kconfig.debug

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2878,15 +2878,6 @@ config USERCOPY_KUNIT_TEST
28782878
on the copy_to/from_user infrastructure, making sure basic
28792879
user/kernel boundary testing is working.
28802880

2881-
config CRC16_KUNIT_TEST
2882-
tristate "KUnit tests for CRC16"
2883-
depends on KUNIT
2884-
default KUNIT_ALL_TESTS
2885-
select CRC16
2886-
help
2887-
Enable this option to run unit tests for the kernel's CRC16
2888-
implementation (<linux/crc16.h>).
2889-
28902881
config TEST_UDELAY
28912882
tristate "udelay test driver"
28922883
help

lib/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ obj-$(CONFIG_FORTIFY_KUNIT_TEST) += fortify_kunit.o
394394
obj-$(CONFIG_CRC_KUNIT_TEST) += crc_kunit.o
395395
obj-$(CONFIG_SIPHASH_KUNIT_TEST) += siphash_kunit.o
396396
obj-$(CONFIG_USERCOPY_KUNIT_TEST) += usercopy_kunit.o
397-
obj-$(CONFIG_CRC16_KUNIT_TEST) += crc16_kunit.o
398397

399398
obj-$(CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED) += devmem_is_allowed.o
400399

lib/crc16_kunit.c

Lines changed: 0 additions & 155 deletions
This file was deleted.

0 commit comments

Comments
 (0)