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 /tools/perf/scripts/python/stackcollapse.py | |
| parent | video: fbdev: savage: fix indentation issue (diff) | |
| download | linux-e4995b12e749873f25bd4c64ba056f506a6d2f1a.tar.gz linux-e4995b12e749873f25bd4c64ba056f506a6d2f1a.zip | |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
