Commit 40215ddf authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman

staging: dgnc: remove blankline before brace

Blank lines are not needed before closing braces. checkpatch was giving
warning about this.
Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9753007e
...@@ -115,7 +115,6 @@ static inline void cls_set_cts_flow_control(struct channel_t *ch) ...@@ -115,7 +115,6 @@ static inline void cls_set_cts_flow_control(struct channel_t *ch)
&ch->ch_cls_uart->isr_fcr); &ch->ch_cls_uart->isr_fcr);
ch->ch_t_tlevel = 16; ch->ch_t_tlevel = 16;
} }
static inline void cls_set_ixon_flow_control(struct channel_t *ch) static inline void cls_set_ixon_flow_control(struct channel_t *ch)
...@@ -161,7 +160,6 @@ static inline void cls_set_ixon_flow_control(struct channel_t *ch) ...@@ -161,7 +160,6 @@ static inline void cls_set_ixon_flow_control(struct channel_t *ch)
writeb((UART_FCR_ENABLE_FIFO | UART_16654_FCR_RXTRIGGER_16 | writeb((UART_FCR_ENABLE_FIFO | UART_16654_FCR_RXTRIGGER_16 |
UART_16654_FCR_TXTRIGGER_16 | UART_FCR_CLEAR_RCVR), UART_16654_FCR_TXTRIGGER_16 | UART_FCR_CLEAR_RCVR),
&ch->ch_cls_uart->isr_fcr); &ch->ch_cls_uart->isr_fcr);
} }
static inline void cls_set_no_output_flow_control(struct channel_t *ch) static inline void cls_set_no_output_flow_control(struct channel_t *ch)
...@@ -205,7 +203,6 @@ static inline void cls_set_no_output_flow_control(struct channel_t *ch) ...@@ -205,7 +203,6 @@ static inline void cls_set_no_output_flow_control(struct channel_t *ch)
ch->ch_r_watermark = 0; ch->ch_r_watermark = 0;
ch->ch_t_tlevel = 16; ch->ch_t_tlevel = 16;
ch->ch_r_tlevel = 16; ch->ch_r_tlevel = 16;
} }
static inline void cls_set_rts_flow_control(struct channel_t *ch) static inline void cls_set_rts_flow_control(struct channel_t *ch)
...@@ -244,7 +241,6 @@ static inline void cls_set_rts_flow_control(struct channel_t *ch) ...@@ -244,7 +241,6 @@ static inline void cls_set_rts_flow_control(struct channel_t *ch)
ch->ch_r_watermark = 4; ch->ch_r_watermark = 4;
ch->ch_r_tlevel = 8; ch->ch_r_tlevel = 8;
} }
static inline void cls_set_ixoff_flow_control(struct channel_t *ch) static inline void cls_set_ixoff_flow_control(struct channel_t *ch)
...@@ -286,7 +282,6 @@ static inline void cls_set_ixoff_flow_control(struct channel_t *ch) ...@@ -286,7 +282,6 @@ static inline void cls_set_ixoff_flow_control(struct channel_t *ch)
writeb((UART_FCR_ENABLE_FIFO | UART_16654_FCR_RXTRIGGER_16 | writeb((UART_FCR_ENABLE_FIFO | UART_16654_FCR_RXTRIGGER_16 |
UART_16654_FCR_TXTRIGGER_16 | UART_FCR_CLEAR_RCVR), UART_16654_FCR_TXTRIGGER_16 | UART_FCR_CLEAR_RCVR),
&ch->ch_cls_uart->isr_fcr); &ch->ch_cls_uart->isr_fcr);
} }
static inline void cls_set_no_input_flow_control(struct channel_t *ch) static inline void cls_set_no_input_flow_control(struct channel_t *ch)
...@@ -325,7 +320,6 @@ static inline void cls_set_no_input_flow_control(struct channel_t *ch) ...@@ -325,7 +320,6 @@ static inline void cls_set_no_input_flow_control(struct channel_t *ch)
ch->ch_t_tlevel = 16; ch->ch_t_tlevel = 16;
ch->ch_r_tlevel = 16; ch->ch_r_tlevel = 16;
} }
/* /*
...@@ -746,7 +740,6 @@ static void cls_tasklet(unsigned long data) ...@@ -746,7 +740,6 @@ static void cls_tasklet(unsigned long data)
} }
spin_unlock_irqrestore(&bd->bd_intr_lock, flags); spin_unlock_irqrestore(&bd->bd_intr_lock, flags);
} }
/* /*
......
...@@ -529,7 +529,6 @@ static int dgnc_found_board(struct pci_dev *pdev, int id) ...@@ -529,7 +529,6 @@ static int dgnc_found_board(struct pci_dev *pdev, int id)
dev_err(&brd->pdev->dev, dev_err(&brd->pdev->dev,
"Didn't find any compatible Neo/Classic PCI boards.\n"); "Didn't find any compatible Neo/Classic PCI boards.\n");
return -ENXIO; return -ENXIO;
} }
/* /*
...@@ -581,7 +580,6 @@ static int dgnc_found_board(struct pci_dev *pdev, int id) ...@@ -581,7 +580,6 @@ static int dgnc_found_board(struct pci_dev *pdev, int id)
brd->dpastatus = BD_NOFEP; brd->dpastatus = BD_NOFEP;
return -ENXIO; return -ENXIO;
} }
static int dgnc_finalize_board_init(struct dgnc_board *brd) static int dgnc_finalize_board_init(struct dgnc_board *brd)
......
...@@ -251,7 +251,6 @@ long dgnc_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -251,7 +251,6 @@ long dgnc_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
break; break;
} }
} }
return 0; return 0;
......
...@@ -901,7 +901,6 @@ static void neo_tasklet(unsigned long data) ...@@ -901,7 +901,6 @@ static void neo_tasklet(unsigned long data)
/* Allow interrupt routine to access the interrupt register again */ /* Allow interrupt routine to access the interrupt register again */
spin_unlock_irqrestore(&bd->bd_intr_lock, flags); spin_unlock_irqrestore(&bd->bd_intr_lock, flags);
} }
/* /*
......
...@@ -695,7 +695,6 @@ void dgnc_create_tty_sysfs(struct un_t *un, struct device *c) ...@@ -695,7 +695,6 @@ void dgnc_create_tty_sysfs(struct un_t *un, struct device *c)
} }
dev_set_drvdata(c, un); dev_set_drvdata(c, un);
} }
void dgnc_remove_tty_sysfs(struct device *c) void dgnc_remove_tty_sysfs(struct device *c)
......
...@@ -374,7 +374,6 @@ int dgnc_tty_init(struct dgnc_board *brd) ...@@ -374,7 +374,6 @@ int dgnc_tty_init(struct dgnc_board *brd)
ch->ch_pun.un_sysfs = classp; ch->ch_pun.un_sysfs = classp;
dgnc_create_tty_sysfs(&ch->ch_pun, classp); dgnc_create_tty_sysfs(&ch->ch_pun, classp);
} }
} }
return 0; return 0;
...@@ -1368,7 +1367,6 @@ static void dgnc_tty_hangup(struct tty_struct *tty) ...@@ -1368,7 +1367,6 @@ static void dgnc_tty_hangup(struct tty_struct *tty)
/* flush the transmit queues */ /* flush the transmit queues */
dgnc_tty_flush_buffer(tty); dgnc_tty_flush_buffer(tty);
} }
/* /*
...@@ -1981,7 +1979,6 @@ static int dgnc_tty_send_break(struct tty_struct *tty, int msec) ...@@ -1981,7 +1979,6 @@ static int dgnc_tty_send_break(struct tty_struct *tty, int msec)
spin_unlock_irqrestore(&ch->ch_lock, flags); spin_unlock_irqrestore(&ch->ch_lock, flags);
return 0; return 0;
} }
/* /*
...@@ -2744,7 +2741,6 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, ...@@ -2744,7 +2741,6 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
~(UN_LOW|UN_EMPTY); ~(UN_LOW|UN_EMPTY);
wake_up_interruptible(&ch->ch_pun.un_flags_wait); wake_up_interruptible(&ch->ch_pun.un_flags_wait);
} }
} }
} }
......
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