Skip to content

Commit

Permalink
savagefb: Remove obsolete else clause in savage_setup_i2c_bus
Browse files Browse the repository at this point in the history
The else clause was not needed after the cleanup in commit
b8901b0

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Tormod Volden authored and Paul Mundt committed Apr 6, 2011
1 parent 21cd72e commit 787dffa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/video/savage/savagefb-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 787dffa

Please sign in to comment.