diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-18 17:45:48 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-10-30 04:36:03 +0300 |
commit | 90b863dd63d63f4d97c3f5b6d6ed5bd239500f7b (patch) | |
tree | f47380a5d82d8d3ead96379b6dfcffed358b64a3 /Documentation/devicetree/bindings/hwmon | |
parent | 186731145f920fb1514200043bcaf9c689693857 (diff) | |
download | linux-90b863dd63d63f4d97c3f5b6d6ed5bd239500f7b.tar.xz |
hwmon: (sht15) remove redundant check on status and send of status value
A previous commit removed bit or'ing into to the integer status
so now status is now always zero. This means that the non-zero check on
status and the sht15_send_status call will never occur; it is deadcode.
Clean this up by removing the dead code.
Detected by: CoverityScan CID#1456835 ("Logically dead code")
Fixes: aa7ab80c578c ("hwmon: (sht15) Root out platform data")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
0 files changed, 0 insertions, 0 deletions