diff options
author | 2022-09-09 19:13:22 +0100 | |
---|---|---|
committer | 2022-10-04 11:21:30 +0200 | |
commit | c71d8035f1b77dc8e29e41942ab31900fa79c1ae (patch) | |
tree | 04936bd6a8aa90050de804837b345d4ea61209fc /drivers/fpga/fpga-region.c | |
parent | thermal/drivers/rcar_thermal: Constify static thermal_zone_device_ops (diff) | |
download | wireguard-linux-c71d8035f1b77dc8e29e41942ab31900fa79c1ae.tar.xz wireguard-linux-c71d8035f1b77dc8e29e41942ab31900fa79c1ae.zip |
thermal/core: Drop valid pointer check for type
Drop the valid pointer check for type in
thermal_zone_device_register_with_trips() as we already have it confirmed
for != NULL from the previous if block.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220909181322.10933-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions