aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorMahati Chamarthy <mahati.chamarthy@gmail.com>2014-09-29 14:07:00 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 09:37:44 -0700
commitc313fe2c346d08246851f7441e68744d5c329497 (patch)
tree8a26ad25e9960ad134c30154157415d9b5ad55a3 /drivers/staging
parentstaging/lustre/lvfs: fix building without CONFIG_PROC_FS (diff)
downloadlinux-dev-c313fe2c346d08246851f7441e68744d5c329497.tar.xz
linux-dev-c313fe2c346d08246851f7441e68744d5c329497.zip
Staging: dgnc: Remove return in void function
This fixes the following checkpatch.pl warnings: WARNING: void function return statements are not generally useful Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/dgnc/dgnc_tty.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index 3892da25066f..dbf2b8b838a9 100644
--- a/drivers/staging/dgnc/dgnc_tty.c
+++ b/drivers/staging/dgnc/dgnc_tty.c
@@ -2198,8 +2198,6 @@ static void dgnc_tty_wait_until_sent(struct tty_struct *tty, int timeout)
return;
rc = bd->bd_ops->drain(tty, 0);
-
- return;
}
@@ -2237,7 +2235,6 @@ static void dgnc_tty_send_xchar(struct tty_struct *tty, char c)
spin_unlock_irqrestore(&ch->ch_lock, flags);
dev_dbg(tty->dev, "dgnc_tty_send_xchar finish\n");
- return;
}