From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- ANDROID_3.4.5/include/linux/crc-itu-t.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 ANDROID_3.4.5/include/linux/crc-itu-t.h (limited to 'ANDROID_3.4.5/include/linux/crc-itu-t.h') diff --git a/ANDROID_3.4.5/include/linux/crc-itu-t.h b/ANDROID_3.4.5/include/linux/crc-itu-t.h deleted file mode 100644 index 84920f3c..00000000 --- a/ANDROID_3.4.5/include/linux/crc-itu-t.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * crc-itu-t.h - CRC ITU-T V.41 routine - * - * Implements the standard CRC ITU-T V.41: - * Width 16 - * Poly 0x0x1021 (x^16 + x^12 + x^15 + 1) - * Init 0 - * - * This source code is licensed under the GNU General Public License, - * Version 2. See the file COPYING for more details. - */ - -#ifndef CRC_ITU_T_H -#define CRC_ITU_T_H - -#include - -extern u16 const crc_itu_t_table[256]; - -extern u16 crc_itu_t(u16 crc, const u8 *buffer, size_t len); - -static inline u16 crc_itu_t_byte(u16 crc, const u8 data) -{ - return (crc << 8) ^ crc_itu_t_table[((crc >> 8) ^ data) & 0xff]; -} - -#endif /* CRC_ITU_T_H */ - -- cgit