Changeset 1803

Show
Ignore:
Timestamp:
06/21/03 18:17:02 (11 years ago)
Author:
mds
Message:

-Wall cleanups

Location:
lm-sensors/trunk/kernel/busses
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/busses/dmi_scan.c

    r1705 r1803  
    177177static void __init dmi_decode(struct dmi_header *dm) 
    178178{ 
    179         u8 *data = (u8 *)dm; 
    180          
    181179        switch(dm->type) 
    182180        { 
  • lm-sensors/trunk/kernel/busses/i2c-nforce2.c

    r1712 r1803  
    112112                       unsigned short flags, char read_write, 
    113113                       u8 command, int size, union i2c_smbus_data *data); 
     114#if 0 
    114115static void nforce2_do_pause(unsigned int amount); 
     116#endif 
    115117/* 
    116118static int nforce2_block_transaction(union i2c_smbus_data *data, 
     
    129131 
    130132 
     133#if 0 
    131134/* Internally used pause function */ 
    132135void nforce2_do_pause(unsigned int amount) 
     
    135138        schedule_timeout(amount); 
    136139} 
    137  
     140#endif 
    138141 
    139142/* Return -1 on error. See smbus.h for more information */ 
     
    384387static void __devexit nforce2_remove(struct pci_dev *dev) 
    385388{ 
    386         int res; 
    387389        struct nforce2_smbus *smbuses = (void*) pci_get_drvdata(dev); 
    388390