diff options
| author | Fenglin Wu <[email protected]> | 2017-07-28 12:40:47 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-08-28 13:51:19 +0200 |
| commit | 53d296b594645697df5885995d6318a083554d93 (patch) | |
| tree | df2971cb274b8679fb662e5882f3659cf603a59f /tools/perf/scripts/python/stackcollapse.py | |
| parent | 40f318f0ed674e0cd12e2dfcb5af71577ea58b4e (diff) | |
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 <[email protected]>
Signed-off-by: Kiran Gunda <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions