diff options
author | Lars-Peter Clausen <[email protected]> | 2013-03-09 08:16:46 +0000 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2013-04-02 07:06:03 +0200 |
commit | bf51a8c5e0b6133b929eb7d7456e99a605f8168c (patch) | |
tree | 5b592f4c92618ae074af18afee0ff1ad269177d3 /tools/perf/scripts/python/syscall-counts.py | |
parent | f5fb0822957b914ab7022cc4bfe000ec3bc9c82c (diff) |
i2c: Ignore return value of i2c_del_adapter()
i2c_del_adapter() always returns 0. So all checks testing whether it will be
non zero will always evaluate to false and the conditional code is dead code.
This patch updates all callers of i2c_del_mux_adapter() to ignore the return
value and assume that it will always succeed (which it will). In a subsequent
patch the return type of i2c_del_adapter() will be made void.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Acked-by: Ben Hutchings <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions