提交 36e712a8 编写于 作者: P Parshuram Thombare 提交者: Greg Kroah-Hartman

staging: dgnc: simplify a trivial if-return sequence

Signed-off-by: NParshuram Thombare <thombarepr@yahoo.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 35e942f3
...@@ -1336,10 +1336,7 @@ static int dgnc_block_til_ready(struct tty_struct *tty, ...@@ -1336,10 +1336,7 @@ static int dgnc_block_til_ready(struct tty_struct *tty,
spin_unlock_irqrestore(&ch->ch_lock, flags); spin_unlock_irqrestore(&ch->ch_lock, flags);
if (retval)
return retval; return retval;
return 0;
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册