tree a4863a53d5964f8cf2d013c24294682c9bada198
parent 66bb8bf8b235ba4d37fda14375827864977c6a3e
author Dave Jones <[EMAIL PROTECTED]> Fri, 12 Aug 2005 10:28:56 -0700
committer Dave Jones <[EMAIL PROTECTED]> Fri, 12 Aug 2005 10:28:56 -0700

[AGPGART] Drop duplicate setting of info->mode in agp_copy_info()

Spotted by Jeremy Fitzhardinge, this change crept in with the multiple
backend support.  It's clearly incorrect to overwrite info->mode after
we just went to lengths to determine which bits to mask out.

Signed-off-by: Dave Jones <[EMAIL PROTECTED]>

 drivers/char/agp/generic.c |    1 -
 1 files changed, 1 deletion(-)

diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c
--- a/drivers/char/agp/generic.c
+++ b/drivers/char/agp/generic.c
@@ -319,7 +319,6 @@ int agp_copy_info(struct agp_bridge_data
                info->mode = bridge->mode & ~AGP3_RESERVED_MASK;
                info->mode = bridge->mode & ~AGP2_RESERVED_MASK;
-       info->mode = bridge->mode;
        info->aper_base = bridge->gart_bus_addr;
        info->aper_size = agp_return_size();
        info->max_memory = bridge->max_memory_agp;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to