diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2019-04-01 17:46:54 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2019-04-01 17:46:54 +0200 |
commit | e4995b12e749873f25bd4c64ba056f506a6d2f1a (patch) | |
tree | a269229ff42a95173426f6166ab5883d49ab694a /lib/btree.c | |
parent | 3f98434235c9d15d389458a9f30fb184db9693ac (diff) |
video/macfb: Remove redundant code
The value of info->var.bits_per_pixel get checked in macfb_setcolreg().
Remove additional checks as they are redundant.
macfb_defined.activate gets initialized to FB_ACTIVATE_NOW by the struct
initializer. Remove redundant assignments.
macfb_defined.bits_per_pixel, .width and .height all get assigned
unconditionally. Remove redundant initializers.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Stan Johnson <userm57@yahoo.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'lib/btree.c')
0 files changed, 0 insertions, 0 deletions