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>
This commit is contained in:
parent
21cd72e7cb
commit
787dffa5c7
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue