diff options
author | Konrad Zapalowicz <bergo.torino@gmail.com> | 2014-08-06 22:17:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-16 12:23:14 -0700 |
commit | d6365fe50ebff17a5beccefed0c19d7dd847f076 (patch) | |
tree | 5f3722e111c877e49a13c0c98e999c51c269a0b4 /drivers/staging/dgnc | |
parent | 8aa5d0d825715db571be47b02ca8b176f70cb1da (diff) | |
download | linux-stable-d6365fe50ebff17a5beccefed0c19d7dd847f076.tar.gz linux-stable-d6365fe50ebff17a5beccefed0c19d7dd847f076.tar.bz2 linux-stable-d6365fe50ebff17a5beccefed0c19d7dd847f076.zip |
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>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_cls.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; } |