diff options
author | Finn Thain <[email protected]> | 2019-04-01 17:46:54 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2019-04-01 17:46:54 +0200 |
commit | e4995b12e749873f25bd4c64ba056f506a6d2f1a (patch) | |
tree | a269229ff42a95173426f6166ab5883d49ab694a /scripts/gdb/linux/dmesg.py | |
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 <[email protected]>
Tested-by: Stan Johnson <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions