From: Peter K. <pk...@us...> - 2001-05-17 15:44:27
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- bcsp.h 1.1 1.2=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Removed unused code. The diff of the modified file(s): --- bcsp.h 2001/05/15 14:37:52 1.1 +++ bcsp.h 2001/05/17 15:44:27 1.2 @@ -1,6 +1,5 @@ /* - * bcsp.h -- Define of macros and functions used in the BCSP - * protocol stack + * bcsp.h -- Define of macros and functions used in the BCSP protocol stack * * Copyright (C) 2001 Axis Communications AB * @@ -87,14 +86,6 @@ #define BCSP_GET_IDENTIFIER(bcsp) ((bcsp)->packet[1] & 0x0f)=20 #define BCSP_GET_PAYLOAD_LENGTH(bcsp) (((bcsp)->packet[2] << 4) | (((bcsp)= ->packet[1] >> 4) & 0xff)) #define BCSP_GET_CHECKSUM(bcsp) ((bcsp)->packet[3]) - - -#if 0 -#define CHAR2INT16(c1,c0) ((((c1) & 0xff) << 8) + ((c0) & 0xff)) -#define CHAR2INT32(c3,c2,c1,c0) ((((c3) & 0xff) << 24) + \ - (((c2) & 0xff) << 16) + \ - (((c1) & 0xff) << 8) + ((c0) &0xff)) -#endif =20 /****************** TYPE DEFINITION SECTION ******************************= ***/ =20 |