aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorFenglin Wu <fenglinw@codeaurora.org>2017-07-28 12:40:47 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 13:51:19 +0200
commit53d296b594645697df5885995d6318a083554d93 (patch)
treedf2971cb274b8679fb662e5882f3659cf603a59f /tools/perf/scripts/python/call-graph-from-postgresql.py
parentspmi: pmic-arb: add support for HW version 5 (diff)
downloadlinux-53d296b594645697df5885995d6318a083554d93.tar.gz
linux-53d296b594645697df5885995d6318a083554d93.zip
spmi: pmic-arb: Remove checking opc value not less than 0
The opc parameter in pmic_arb_write_cmd() function is defined with type u8 and it's always greater than or equal to 0. Checking that it's not less than 0 is redundant and it can cause a forbidden warning during compilation. Remove the check. Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org> Signed-off-by: Kiran Gunda <kgunda@codeaurora.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions