mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-03 21:01:50 +00:00
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
|
else
|
||||||
dev_warn(&chan->par->pcidev->dev,
|
dev_warn(&chan->par->pcidev->dev,
|
||||||
"Failed to register I2C bus %s.\n", name);
|
"Failed to register I2C bus %s.\n", name);
|
||||||
} else
|
}
|
||||||
chan->par = NULL;
|
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue