提交 8f86b911 编写于 作者: T Tobin C. Harding 提交者: Greg Kroah-Hartman

staging: dgnc: remove explicit cast

Function return type is 'int'. Returned variable is of type
'uint'. uint can be implicitly converted to int. Most significant bit
is not set so there is no risk in implicit conversion.

Remove unnecessary type cast.
Signed-off-by: NTobin C. Harding <me@tobin.cc>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 7261fb9b
......@@ -1411,7 +1411,7 @@ static int dgnc_tty_chars_in_buffer(struct tty_struct *tty)
else
chars = thead - ttail + WQUEUESIZE;
return (int)chars;
return chars;
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册