GNOME Bugzilla – Bug 734267
power: Remove unnecessary min variables.
Last modified: 2014-08-06 07:50:24 UTC
Created attachment 282535 [details] [review] Replace 0 by min. We should not assume the minimum brightness level is 0.
Review of attachment 282535 [details] [review]: Given that min is never actually set to anything but 0 in this code, I'd rather remove the min variable altogether.
Created attachment 282620 [details] [review] There is no need to use min variable anymore.
commit 3e6effd7dff2c1a0c2c1214e41f28737205eec72 Author: Shih-Yuan Lee (FourDollars) <sylee@canonical.com> Date: Wed Aug 6 10:41:19 2014 +0800 power: Remove unnecessary min variables There is no need to use min variable anymore, as it's always set to 0. If we were to revert this because we need a different minimum, note that the related bug contains bug fixes for cases where min should have been used but was not. https://bugzilla.gnome.org/show_bug.cgi?id=734267