Commit 8e8d27f7 authored by Rehas Sachdeva's avatar Rehas Sachdeva Committed by Greg Kroah-Hartman

staging: dgnc: Fix block comment style

This patch fixes the block comment style.
1. The checkpatch.pl warning:
Block comments use a trailing */ on a separate line.
2. '====' separator is unnecessary and should not be used.
Signed-off-by: default avatarRehas Sachdeva <aquannie@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 05b30f49
...@@ -443,15 +443,13 @@ void dgnc_tty_uninit(struct dgnc_board *brd) ...@@ -443,15 +443,13 @@ void dgnc_tty_uninit(struct dgnc_board *brd)
brd->PrintDriver.termios = NULL; brd->PrintDriver.termios = NULL;
} }
/*======================================================================= /*
*
* dgnc_wmove - Write data to transmit queue. * dgnc_wmove - Write data to transmit queue.
* *
* ch - Pointer to channel structure. * ch - Pointer to channel structure.
* buf - Pointer to characters to be moved. * buf - Pointer to characters to be moved.
* n - Number of characters to move. * n - Number of characters to move.
* */
*=======================================================================*/
static void dgnc_wmove(struct channel_t *ch, char *buf, uint n) static void dgnc_wmove(struct channel_t *ch, char *buf, uint n)
{ {
int remain; int remain;
...@@ -489,13 +487,11 @@ static void dgnc_wmove(struct channel_t *ch, char *buf, uint n) ...@@ -489,13 +487,11 @@ static void dgnc_wmove(struct channel_t *ch, char *buf, uint n)
ch->ch_w_head = head; ch->ch_w_head = head;
} }
/*======================================================================= /*
*
* dgnc_input - Process received data. * dgnc_input - Process received data.
* *
* ch - Pointer to channel structure. * ch - Pointer to channel structure.
* */
*=======================================================================*/
void dgnc_input(struct channel_t *ch) void dgnc_input(struct channel_t *ch)
{ {
struct dgnc_board *bd; struct dgnc_board *bd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment