mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
viafb: avoid refresh and mode lookup in set_par
As check_var already ensures that the mode is valid there is no need to do those expensive lookups here again. The only thing that might change is that the deprecated interface could report slightly different refresh rates due to rounding errors. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
This commit is contained in:
parent
9864ca20c5
commit
838ac785d5
1 changed files with 14 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue