1
0
Fork 0

savagefb: Remove obsolete else clause in savage_setup_i2c_bus

The else clause was not needed after the cleanup in commit
b8901b091d

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
hifive-unleashed-5.1
Tormod Volden 2011-04-03 12:54:06 +00:00 committed by Paul Mundt
parent 21cd72e7cb
commit 787dffa5c7
1 changed files with 1 additions and 2 deletions

View File

@ -159,8 +159,7 @@ static int savage_setup_i2c_bus(struct savagefb_i2c_chan *chan,
else
dev_warn(&chan->par->pcidev->dev,
"Failed to register I2C bus %s.\n", name);
} else
chan->par = NULL;
}
return rc;
}