Show
Ignore:
Timestamp:
06/04/01 00:01:14 (13 years ago)
Author:
mds
Message:

remove unused swap_bytes() to eliminate compile warning

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/thmc50.c

    r1101 r1115  
    118118static void thmc50_inc_use(struct i2c_client *client); 
    119119static void thmc50_dec_use(struct i2c_client *client); 
    120 static u16 swap_bytes(u16 val); 
    121120static int thmc50_read_value(struct i2c_client *client, u8 reg); 
    122121static int thmc50_write_value(struct i2c_client *client, u8 reg, 
     
    329328} 
    330329 
    331 u16 swap_bytes(u16 val) 
    332 { 
    333         return (val >> 8) | (val << 8); 
    334 } 
    335  
    336330/* All registers are word-sized, except for the configuration register. 
    337331   THMC50 uses a high-byte first convention, which is exactly opposite to