fs: ext4: Use CRC-16 implementation from linux/crc16.h
Implementation in linux/crc16.h provides standard CRC-16 algorithm with polynomial x^16 + x^15 + x^2 + 1. Use it and remove duplicate ext4 CRC-16 specific code. Signed-off-by:Pali Rohár <pali@kernel.org> Reviewed-by:
Stefan Roese <sr@denx.de>
Showing
- fs/ext4/Makefile 1 addition, 1 deletionfs/ext4/Makefile
- fs/ext4/crc16.c 0 additions, 62 deletionsfs/ext4/crc16.c
- fs/ext4/crc16.h 0 additions, 16 deletionsfs/ext4/crc16.h
- fs/ext4/ext4_common.c 4 additions, 4 deletionsfs/ext4/ext4_common.c
- fs/ext4/ext4_common.h 1 addition, 1 deletionfs/ext4/ext4_common.h
Loading
Please register or sign in to comment