public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [2.5 patch] remove unused reset_videobios_after_s3
@ 2003-06-08 10:47 Adrian Bunk
       [not found] ` <20030608104737.GA16164-cg1h10c7RbKzQB+pC5nmwQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2003-06-08 10:47 UTC (permalink / raw)
  To: pavel-AlSwsSmVLrQ, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	andrew.grover-ral2JQCrhuEAvxtiuMwx3w,
	trivial-8n+1lVoiYb80n/F98K4Iww

reset_videobios_after_s3 is used nowhere inside 2.5.70-mm6. Unless there 
are plans to use it in the near future I suggest the patch below to 
remove it.

I've tested the compilation with 2.5.70-mm6.

cu
Adrian


--- linux-2.5.70-mm6/arch/i386/kernel/dmi_scan.c.old	2003-06-08 12:42:41.000000000 +0200
+++ linux-2.5.70-mm6/arch/i386/kernel/dmi_scan.c	2003-06-08 12:43:01.000000000 +0200
@@ -482,12 +482,6 @@
 	return 0;
 }
 
-static __init int reset_videobios_after_s3(struct dmi_blacklist *d)
-{
-	extern long acpi_video_flags;
-	acpi_video_flags |= 1;
-	return 0;
-}
 #endif
 
 /*

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.5 patch] remove unused reset_videobios_after_s3
       [not found] ` <20030608104737.GA16164-cg1h10c7RbKzQB+pC5nmwQ@public.gmane.org>
@ 2003-06-08 18:18   ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2003-06-08 18:18 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	andrew.grover-ral2JQCrhuEAvxtiuMwx3w,
	trivial-8n+1lVoiYb80n/F98K4Iww

Hi!

> reset_videobios_after_s3 is used nowhere inside 2.5.70-mm6. Unless there 
> are plans to use it in the near future I suggest the patch below to 
> remove it.
> 
> I've tested the compilation with 2.5.70-mm6.

Please keep it. I know there are machines that need it (I have one at
home, but that does not seem to have valid DMI tables), but I do not
yet have their DMI strings.
								Pavel
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-08 18:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-08 10:47 [2.5 patch] remove unused reset_videobios_after_s3 Adrian Bunk
     [not found] ` <20030608104737.GA16164-cg1h10c7RbKzQB+pC5nmwQ@public.gmane.org>
2003-06-08 18:18   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox