-Wall cleanups

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1803 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2003-06-21 16:17:02 +00:00
1 parent 264e2dce9c
commit 7e8d8dc3c7
2 files changed
+4 -4

No files matched your search

-2
View File
@@ -176,8 +176,6 @@ static void __init dmi_save_ident(struct dmi_header *dm, int slot, int string)
static void __init dmi_decode(struct dmi_header *dm)
{
u8 *data = (u8 *)dm;
switch(dm->type)
{
case 0:
+4 -2
View File
@@ -111,7 +111,9 @@ struct nforce2_smbus {
static s32 nforce2_access(struct i2c_adapter *adap, u16 addr,
unsigned short flags, char read_write,
u8 command, int size, union i2c_smbus_data *data);
#if 0
static void nforce2_do_pause(unsigned int amount);
#endif
/*
static int nforce2_block_transaction(union i2c_smbus_data *data,
char read_write, int i2c_enable);
@@ -128,13 +130,14 @@ static struct i2c_algorithm smbus_algorithm = {
#if 0
/* Internally used pause function */
void nforce2_do_pause(unsigned int amount)
{
current->state = TASK_INTERRUPTIBLE;
schedule_timeout(amount);
}
#endif
/* Return -1 on error. See smbus.h for more information */
s32 nforce2_access(struct i2c_adapter * adap, u16 addr, unsigned short flags,
@@ -383,7 +386,6 @@ static int __devinit nforce2_probe(struct pci_dev *dev, const struct pci_device_
static void __devexit nforce2_remove(struct pci_dev *dev)
{
int res;
struct nforce2_smbus *smbuses = (void*) pci_get_drvdata(dev);
if (smbuses[0].base) {