diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-08-21 12:02:21 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-08-31 14:14:07 +0200 |
commit | 25fb0ea986dc10e05f3f4b43cabde4d1853a1fd7 (patch) | |
tree | 7eea0de16632dada437f18589e84f966e0796cba /tools/docs/parse-headers.py | |
parent | 411053cb6657a3cf8db50a2d004a112070ca14b2 (diff) |
w1: matrox: Remove some deadcode in matrox_w1_remove()
The .remove function can only be called if the .probe() succeeds. So there
is no need to keep track of a successful probe in 'found'.
Simplify code accordingly.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/458641ad2d7a7adf30a03e70038304f0e6a81ff4.1755770484.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions