Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54862
b: refs/heads/master
c: 6a0aa67
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed May 8, 2007
1 parent bb967f6 commit 64235fa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3991428d9efc7185312196f82cc36e9df4a2ddb0
refs/heads/master: 6a0aa67b177a3d84f789f7f19c523d8c5e8bb5f8
12 changes: 0 additions & 12 deletions trunk/drivers/char/cyclades.c
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,6 @@ static void cyy_intr_chip(struct cyclades_card *cinfo, int chip,
channel = (u_short) (save_xir & CyIRChannel);
i = channel + chip * 4 + cinfo->first_line;
info = &cy_port[i];
info->last_active = jiffies;
save_car = readb(base_addr + (CyCAR << index));
cy_writeb(base_addr + (CyCAR << index), save_xir);

Expand Down Expand Up @@ -1225,7 +1224,6 @@ static void cyy_intr_chip(struct cyclades_card *cinfo, int chip,
goto txend;
}
info = &cy_port[i];
info->last_active = jiffies;
if (info->tty == 0) {
cy_writeb(base_addr + (CySRER << index),
readb(base_addr + (CySRER << index)) &
Expand Down Expand Up @@ -1339,7 +1337,6 @@ static void cyy_intr_chip(struct cyclades_card *cinfo, int chip,
save_xir = (u_char) readb(base_addr + (CyMIR << index));
channel = (u_short) (save_xir & CyIRChannel);
info = &cy_port[channel + chip * 4 + cinfo->first_line];
info->last_active = jiffies;
save_car = readb(base_addr + (CyCAR << index));
cy_writeb(base_addr + (CyCAR << index), save_xir);

Expand Down Expand Up @@ -1570,9 +1567,6 @@ cyz_handle_rx(struct cyclades_port *info, struct CH_CTRL __iomem *ch_ctrl,
char_count = rx_put - rx_get + rx_bufsize;

if (char_count) {
info->last_active = jiffies;
info->jiffies[1] = jiffies;

#ifdef CY_ENABLE_MONITORING
info->mon.int_count++;
info->mon.char_count += char_count;
Expand Down Expand Up @@ -1678,8 +1672,6 @@ cyz_handle_tx(struct cyclades_port *info, struct CH_CTRL __iomem *ch_ctrl,
info->x_char = 0;
char_count--;
info->icount.tx++;
info->last_active = jiffies;
info->jiffies[2] = jiffies;
}
#ifdef BLOCKMOVE
while (0 < (small_count = min_t(unsigned int,
Expand All @@ -1699,8 +1691,6 @@ cyz_handle_tx(struct cyclades_port *info, struct CH_CTRL __iomem *ch_ctrl,
info->xmit_cnt -= small_count;
info->xmit_tail = (info->xmit_tail + small_count) &
(SERIAL_XMIT_SIZE - 1);
info->last_active = jiffies;
info->jiffies[2] = jiffies;
}
#else
while (info->xmit_cnt && char_count) {
Expand All @@ -1713,8 +1703,6 @@ cyz_handle_tx(struct cyclades_port *info, struct CH_CTRL __iomem *ch_ctrl,
tx_put = (tx_put + 1) & (tx_bufsize - 1);
char_count--;
info->icount.tx++;
info->last_active = jiffies;
info->jiffies[2] = jiffies;
}
#endif
ztxdone:
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/cyclades.h
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,6 @@ struct cyclades_port {
int close_delay;
unsigned short closing_wait;
unsigned long event;
unsigned long last_active;
int count; /* # of fd on device */
int breakon;
int breakoff;
Expand All @@ -580,7 +579,6 @@ struct cyclades_port {
int xmit_cnt;
int default_threshold;
int default_timeout;
unsigned long jiffies[3];
unsigned long rflush_count;
struct cyclades_monitor mon;
struct cyclades_idle_stats idle_stats;
Expand Down

0 comments on commit 64235fa

Please sign in to comment.