diff options
| author | Sam Ravnborg <[email protected]> | 2020-11-28 23:40:52 +0100 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2020-11-30 19:29:19 +0100 |
| commit | 055646137637b627b6d1b8f033f7defef14a4c00 (patch) | |
| tree | 0de56f78c79e53b0da827bc6ed3e7ad9118455e7 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 580054562651ae4d7f731ba7f625123e0e3d965c (diff) | |
video: fbdev: aty: Fix set but not used warnings in mach64_ct
Fix W=1 warnings about variables assigned but never used.
- One variable is only used when CONFIG_FB_ATY_GENERIC_LCD is defined
Fix so variable is only defined with CONFIG_FB_ATY_GENERIC_LCD
- Several variables was only assigned by a call to aty_ld_le32().
Drop the variables but keep the call to aty_ld_le32() as it may
have unexpected side-effects.
v2:
- Updated subject (Lee)
Signed-off-by: Sam Ravnborg <[email protected]>
Acked-by: Thomas Zimmermann <[email protected]>
Cc: Lee Jones <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions