Skip to contentSkip to conversation

remove unused reset_videobios_after_s3

PATCH In review Adrian Bunk 2 participants 2 messages Jun 8, 2003 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove unused reset_videobios_after_s3

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

arch/i386/kernel/dmi_scan.c renamed from arch/i386/kernel/dmi_scan.c.old +0 -6
@@ -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
 
 /*
#1 lore raw

Hi!

Quoted 5 lines

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

Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]