Commit f2ff0c4
fbdev: uvesafb: Simplify uvesafb_remove()
When the remove() function is called, we know that the probe() function has
successfully been executed. So 'info' is known to be not NULL.
Simplify the code accordingly.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Helge Deller <deller@gmx.de>1 parent a943710 commit f2ff0c4
1 file changed
Lines changed: 13 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1777 | 1777 | | |
1778 | 1778 | | |
1779 | 1779 | | |
| 1780 | + | |
1780 | 1781 | | |
1781 | | - | |
1782 | | - | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
1783 | 1790 | | |
1784 | | - | |
1785 | | - | |
1786 | | - | |
1787 | | - | |
1788 | | - | |
1789 | | - | |
1790 | | - | |
1791 | | - | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
1792 | 1794 | | |
1793 | | - | |
1794 | | - | |
1795 | | - | |
| 1795 | + | |
1796 | 1796 | | |
1797 | | - | |
1798 | | - | |
1799 | 1797 | | |
1800 | 1798 | | |
1801 | 1799 | | |
| |||
0 commit comments