Commit 36e712a8 authored by Parshuram Thombare's avatar Parshuram Thombare Committed by Greg Kroah-Hartman

staging: dgnc: simplify a trivial if-return sequence

Signed-off-by: default avatarParshuram Thombare <thombarepr@yahoo.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 35e942f3
......@@ -1336,10 +1336,7 @@ static int dgnc_block_til_ready(struct tty_struct *tty,
spin_unlock_irqrestore(&ch->ch_lock, flags);
if (retval)
return retval;
return 0;
return retval;
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment