[PATCH 2/2] staging: dgnc: Remove unnecessary 'return' statement
Konrad Zapalowicz
bergo.torino at gmail.com
Wed Aug 6 20:17:10 UTC 2014
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 at gmail.com>
---
drivers/staging/dgnc/dgnc_cls.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_cls.c b/drivers/staging/dgnc/dgnc_cls.c
index 0d3ca7c..fe099c6 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;
}
--
1.8.1.2
More information about the devel
mailing list