Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11901
b: refs/heads/master
c: 3f992e1
h: refs/heads/master
i:
  11899: 3f94642
v: v3
  • Loading branch information
Clemens Ladisch authored and Linus Torvalds committed Oct 31, 2005
1 parent a3632c4 commit 2e134a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: 642d30bbc73512269de1524251ccc378d7782b85
refs/heads/master: 3f992e1bb7eab7b7af2b9ea46d2b80b1fed84845
4 changes: 0 additions & 4 deletions trunk/drivers/char/hpet.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,6 @@ static int hpet_ioctl_ieon(struct hpet_dev *devp)
if (!devp->hd_ireqfreq)
return -EIO;

v = readq(&timer->hpet_config);
spin_lock_irq(&hpet_lock);

if (devp->hd_flags & HPET_IE) {
Expand All @@ -378,7 +377,6 @@ static int hpet_ioctl_ieon(struct hpet_dev *devp)
devp->hd_flags |= HPET_IE;
spin_unlock_irq(&hpet_lock);

t = readq(&timer->hpet_config);
irq = devp->hd_hdwirq;

if (irq) {
Expand Down Expand Up @@ -855,11 +853,9 @@ int hpet_alloc(struct hpet_data *hdp)
}

for (i = 0, devp = hpetp->hp_dev; i < hpetp->hp_ntimer; i++, devp++) {
unsigned long v;
struct hpet_timer __iomem *timer;

timer = &hpet->hpet_timers[devp - hpetp->hp_dev];
v = readq(&timer->hpet_config);

devp->hd_hpets = hpetp;
devp->hd_hpet = hpet;
Expand Down

0 comments on commit 2e134a1

Please sign in to comment.