summaryrefslogtreecommitdiff
path: root/drivers/char/agp/isoch.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-01-31 16:20:55 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-31 16:20:55 -0800
commit10379a25fee8ddc8698d2f6c54ccedd4664c2941 (patch)
treefba7fe3a1aa8e85104f9dcf08ff217dd4b0160c4 /drivers/char/agp/isoch.c
parent63b3ced0f80ae1c437620d3f7d6ff2bcf0745b0a (diff)
parent3b0e8eadc511eaceba6d6b8d0743359a34ee23c6 (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart
Diffstat (limited to 'drivers/char/agp/isoch.c')
-rw-r--r--drivers/char/agp/isoch.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/char/agp/isoch.c b/drivers/char/agp/isoch.c
index 40083241804e..7c14a096b85e 100644
--- a/drivers/char/agp/isoch.c
+++ b/drivers/char/agp/isoch.c
@@ -218,10 +218,8 @@ static int agp_3_5_isochronous_node_enable(struct agp_bridge_data *bridge,
master[cdev].rq *= (1 << (master[cdev].y - 1));
tot_rq += master[cdev].rq;
-
- if (cdev == ndevs-1)
- master[cdev].n += rem;
}
+ master[ndevs-1].n += rem;
/* Figure the number of isochronous and asynchronous RQ slots the
* target is providing. */