Changeset 4652

Show
Ignore:
Timestamp:
08/11/07 19:22:20 (1 year ago)
Author:
khali
Message:

Delete dead code.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/kernel/chips/eeprom.c

    r3156 r4652  
    7070                         unsigned short flags, int kind); 
    7171static int eeprom_detach_client(struct i2c_client *client); 
    72  
    73 #if 0 
    74 static int eeprom_write_value(struct i2c_client *client, u8 reg, 
    75                               u8 value); 
    76 #endif 
    7772 
    7873static void eeprom_contents(struct i2c_client *client, int operation, 
     
    254249        return 0; 
    255250} 
    256  
    257  
    258 #if 0 
    259 /* No writes yet (PAE) */ 
    260 static int eeprom_write_value(struct i2c_client *client, u8 reg, u8 value) 
    261 { 
    262         return i2c_smbus_write_byte_data(client, reg, value); 
    263 } 
    264 #endif 
    265251 
    266252static void eeprom_update_client(struct i2c_client *client, u8 slice) 
     
    343329#endif 
    344330                *nrels_mag = 16; 
    345         } else if (operation == SENSORS_PROC_REAL_WRITE) { 
    346  
    347 /* No writes to the EEPROM (yet, anyway) (PAE) */ 
    348                 printk("eeprom.o: No writes to EEPROMs supported!\n"); 
    349331        } 
    350332}