Changeset 3641

Show
Ignore:
Timestamp:
06/12/02 05:29:16 (11 years ago)
Author:
mds
Message:

cleanup 1

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/kernel/i2c-core.c

    r3640 r3641  
    10161016} 
    10171017 
    1018 /* 
    1019 static u8 
    1020 smb2_calc_pec(u8 * data,int size) 
    1021 { 
    1022   int i; 
    1023   u8 CRC = 0; 
    1024   for(i = 0 ;i<size;i++){ 
    1025     CRC = crc8((CRC ^ data[i])<<8 ); 
    1026   } 
    1027   return CRC; 
    1028 } 
    1029 */ 
    1030  
    10311018/* skip third if == 0xffff; skip rest if == NULL */ 
    10321019u8 i2c_smbus_pec(u8 first, u8 second, unsigned int third, u8 *rest)