staging: dgnc: Remove unnecessary 'return' statement
authorKonrad Zapalowicz <bergo.torino@gmail.com>
Wed, 6 Aug 2014 20:17:10 +0000 (22:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:14 +0000 (12:23 -0700)
This commit fixes the checkpath warning 'void function return
statements are not generally useful' caused by the 'return' at the end
of 'void' function.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_cls.c

index 0d3ca7cec8fc5388118839c196a02f98fbac501e..fe099c651d32b954c2c331ae900c08dcd160e527 100644 (file)
@@ -1138,8 +1138,6 @@ static void cls_copy_data_from_queue_to_uart(struct channel_t *ch)
                ch->ch_flags &= ~(CH_TX_FIFO_EMPTY | CH_TX_FIFO_LWM);
 
        DGNC_UNLOCK(ch->ch_lock, lock_flags);
-
-       return;
 }