From: Tormod Volden Date: Sun, 3 Apr 2011 12:54:06 +0000 (+0000) Subject: savagefb: Remove obsolete else clause in savage_setup_i2c_bus X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=787dffa5c790fdae40a0706e0b3847e31282eb3b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git savagefb: Remove obsolete else clause in savage_setup_i2c_bus The else clause was not needed after the cleanup in commit b8901b091db260b0f0101d6395ce5c6016835a47 Signed-off-by: Tormod Volden Signed-off-by: Paul Mundt --- diff --git a/drivers/video/savage/savagefb-i2c.c b/drivers/video/savage/savagefb-i2c.c index 5e7acda2ba90..bb71fea07284 100644 --- a/drivers/video/savage/savagefb-i2c.c +++ b/drivers/video/savage/savagefb-i2c.c @@ -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; }