Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60872
b: refs/heads/master
c: e327325
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Jul 17, 2007
1 parent 01e8b18 commit ff5e13a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 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: 5b21f9dddd0817b761f1407f1950bee4f257411a
refs/heads/master: e327325f4219e30476c775dbcd8651cd71b5416a
12 changes: 1 addition & 11 deletions trunk/drivers/char/isicom.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,6 @@ static struct pci_driver isicom_driver = {
static int prev_card = 3; /* start servicing isi_card[0] */
static struct tty_driver *isicom_normal;

static DECLARE_COMPLETION(isi_timerdone);
static char re_schedule = 1;

static void isicom_tx(unsigned long _data);
static void isicom_start(struct tty_struct *tty);

Expand Down Expand Up @@ -502,11 +499,6 @@ static void isicom_tx(unsigned long _data)
spin_unlock_irqrestore(&isi_card[card].card_lock, flags);
/* schedule another tx for hopefully in about 10ms */
sched_again:
if (!re_schedule) {
complete(&isi_timerdone);
return;
}

mod_timer(&tx, jiffies + msecs_to_jiffies(10));
}

Expand Down Expand Up @@ -1890,9 +1882,7 @@ static int __init isicom_init(void)

static void __exit isicom_exit(void)
{
re_schedule = 0;

wait_for_completion_timeout(&isi_timerdone, HZ);
del_timer_sync(&tx);

pci_unregister_driver(&isicom_driver);
tty_unregister_driver(isicom_normal);
Expand Down

0 comments on commit ff5e13a

Please sign in to comment.