summaryrefslogtreecommitdiff
path: root/fs/fcntl.c
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2020-12-02 12:14:18 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2020-12-07 10:32:44 +0300
commit93549516d44681261d2d209186449c6125beccc1 (patch)
tree795a82157b295e10dabbf08f0f3fa3b16d80d924 /fs/fcntl.c
parentcfef4bcaccf35f0b80acc5c79967996b2eb88ba6 (diff)
downloadlinux-93549516d44681261d2d209186449c6125beccc1.tar.xz
cpufreq: tegra194: Remove unnecessary frequency calculation
The Tegra194 CPUFREQ driver sets the CPUFREQ_NEED_INITIAL_FREQ_CHECK flag which means that the CPUFREQ framework will call the 'get' callback on boot to determine the current frequency of the CPUs. Therefore, it is not necessary for the Tegra194 CPUFREQ driver to internally call the tegra194_get_speed_common() during initialisation to query the current frequency as well. Fix this by removing the call to the tegra194_get_speed_common() during initialisation and simplify the code. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions