[patch 11/17] PNPBIOS: remove unused bioscalls code

helgaas
2007-07-23T21:33:33Z

[-- Attachment #1: pnpbios-format-pnpbios --]
[-- Type: text/plain, Size: 939 bytes --]

Remove unused code surrounded by "#if needed". No functional change.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>

Index: work2/include/linux/pnpbios.h
===================================================================
--- work2.orig/include/linux/pnpbios.h 2007-07-23 14:25:57.000000000 -0600
+++ work2/include/linux/pnpbios.h 2007-07-23 14:26:04.000000000 -0600
@@ -141,14 +141,6 @@
extern int pnp_bios_escd_info (struct escd_info_struc *data);
extern int pnp_bios_read_escd (char *data, u32 nvram_base);
extern int pnp_bios_dock_station_info(struct pnp_docking_station_info *data);
-#define needed 0
-#if needed
-extern int pnp_bios_get_event (u16 *message);
-extern int pnp_bios_send_message (u16 message);
-extern int pnp_bios_set_stat_res (char *info);
-extern int pnp_bios_apm_id_table (char *table, u16 *size);
-extern int pnp_bios_write_escd (char *data, u32 nvram_base);
-#endif

#endif /* CONFIG_PNPBIOS */

--