]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: dgnc: remove explicit cast
authorTobin C. Harding <me@tobin.cc>
Mon, 13 Mar 2017 01:37:34 +0000 (12:37 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Mar 2017 22:27:31 +0000 (06:27 +0800)
commit8f86b9118427949b902310fdfa479dfdb25a6052
tree2fa777e7167ea55b80d818201b3539113f071d8c
parent7261fb9bcb40251e4d3153f30624bffe1bba914d
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: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c