mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-16 22:51:32 +00:00
staging: ft1000: ft1000-pcmcia: Removed unnecessary else expression.
This patch fixes "else is not generally useful after a break or return" checkpatch.pl warning in ft1000_dnld.c Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2effbbdd95
commit
96bcbea0d5
@ -168,10 +168,9 @@ u16 get_handshake(struct net_device *dev, u16 expected_value)
|
||||
if ((handshake == expected_value)
|
||||
|| (handshake == HANDSHAKE_RESET_VALUE)) {
|
||||
return handshake;
|
||||
} else {
|
||||
loopcnt++;
|
||||
mdelay(DSP_WAIT_SLEEP_TIME);
|
||||
}
|
||||
loopcnt++;
|
||||
mdelay(DSP_WAIT_SLEEP_TIME);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user