summary refs log tree commit diff
path: root/drivers/cpufreq/cpufreq-dt.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-03-27 20:26:23 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2020-04-03 00:09:59 +1100
commit96efbab92cccbe3434501e5a77cbaa01c5bc2767 (patch)
tree4b318b29aae9c2b0598e0f3624b88633ca5a7110 /drivers/cpufreq/cpufreq-dt.c
parent7ee417497a29028502cf952f419ab2635f563d51 (diff)
downloadlinux-96efbab92cccbe3434501e5a77cbaa01c5bc2767.tar.gz
powerpc/ps3: Remove an unneeded NULL check
Static checkers don't like the inconsistent NULL checking on "ops".
This function is only called once and "ops" isn't NULL so the check
can be removed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ddc3513dc54d15456692c80df49287fe3babe40a.1585340156.git.geoff@infradead.org
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt.c')
0 files changed, 0 insertions, 0 deletions