w1: ds2438: fixed a coding style issue
authorLuiz Sampaio <sampaio.ime@gmail.com>
Wed, 19 May 2021 22:30:41 +0000 (19:30 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 May 2021 12:51:32 +0000 (14:51 +0200)
commitddb20bcf77382c92389a5b506e5f52e840dc70a4
tree996baed1f8f42e551da5fad8957931817547ccf8
parentc6fa1a96db26b22cdfb2055d8b1a79e8c40b1040
w1: ds2438: fixed a coding style issue

There is an if statement and, if the function goes into it, it returns. So,
the next else is not required.

Signed-off-by: Luiz Sampaio <sampaio.ime@gmail.com>
Link: https://lore.kernel.org/r/20210519223046.13798-2-sampaio.ime@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_ds2438.c