staging: olpc_dcon: olpc_dcon_xo_1_5: Remove redundant return statement.
authorEmmanuil Chatzipetru <chatzi.emanuel@gmail.com>
Sun, 8 Jan 2017 13:37:05 +0000 (14:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 16:40:15 +0000 (17:40 +0100)
commit13c7faa54091e8036c814f84aaf69045138ec9b6
tree703ebbac0c6dcf048843f9ccfb7026a6818180b2
parent5f6791ec5a0498a2ae562e410b91a2dc8b885962
staging: olpc_dcon: olpc_dcon_xo_1_5: Remove redundant return statement.

dcon_was_irq(); should return a boolean value if PMIO_Rx50[6] is either
set or unset, which is evaluated in the first return statement. Therefore,
the following return statement is redundant and thus, removed.

Signed-off-by: Emmanuil Chatzipetru <chatzi.emanuel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c