From: Konrad Zapalowicz <bergo.torino@gmail.com>
Date: Wed, 6 Aug 2014 20:17:10 +0000 (+0200)
Subject: staging: dgnc: Remove unnecessary 'return' statement
X-Git-Tag: firefly_0821_release~176^2~3121^2~1324
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d6365fe50ebff17a5beccefed0c19d7dd847f076;p=firefly-linux-kernel-4.4.55.git

staging: dgnc: Remove unnecessary 'return' statement

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>
---

diff --git a/drivers/staging/dgnc/dgnc_cls.c b/drivers/staging/dgnc/dgnc_cls.c
index 0d3ca7cec8fc..fe099c651d32 100644
--- a/drivers/staging/dgnc/dgnc_cls.c
+++ b/drivers/staging/dgnc/dgnc_cls.c
@@ -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;
 }