Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c313fe2c authored by Mahati Chamarthy's avatar Mahati Chamarthy Committed by Greg Kroah-Hartman
Browse files

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: default avatarMahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 372d5b56
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;
}