Skip to contentSkip to conversation

Possible bugs

DISCUSSION MIDN Sean Jones 2 participants 2 messages Dec 3, 2001 – Dec 4, 2001

lore
Share & tools
lore
#0 lore raw

I was looking for code to cleanup and found these warnings:

(from 2.4.17-pre2)

dmi_scan.c:195: warning: disable_ide_dma' defined but not used agpgart_be.c:524: warning: agp_generic_create_gatt_table' defined but not used
agpgart_be.c:652: warning: `agp_generic_free_gatt_table' defined but not used
agpgart_be.c:700: warning: `agp_generic_insert_memory' defined but not used
agpgart_be.c:758: warning: `agp_generic_remove_memory' defined but not used
parport_pc.c:1784: warning: `parport_ECP_supported' defined but not used

Are these functions supposed to be there or are they leftovers from previous modifications.

Thanks,

Sean Jones

#1 lore raw

There was a patch sent a month or so ago that removed disable_ida_dma. I usually apply cleanups like this, but it's a toss-up whether it's worth it. Maybe these functions should be removed from 2.5 until someone complains.

Signature · 2 lines
Ken.
[email protected]

On Sun, Dec 02, 2001 at 05:29:52PM -0500, MIDN Sean Jones wrote:

| I was looking for code to cleanup and found these warnings:
| 
| (from 2.4.17-pre2)
| 
| dmi_scan.c:195: warning: `disable_ide_dma' defined but not used
| agpgart_be.c:524: warning: `agp_generic_create_gatt_table' defined but
| not used
| agpgart_be.c:652: warning: `agp_generic_free_gatt_table' defined but not
| used
| agpgart_be.c:700: warning: `agp_generic_insert_memory' defined but not
| used
| agpgart_be.c:758: warning: `agp_generic_remove_memory' defined but not
| used
| parport_pc.c:1784: warning: `parport_ECP_supported' defined but not used
| 
| Are these functions supposed to be there or are they leftovers from
| previous modifications.
| 
| Thanks,
| 
| Sean Jones
| 
| -
| To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
| the body of a message to [email protected]
| More majordomo info at  http://vger.kernel.org/majordomo-info.html
| Please read the FAQ at  http://www.tux.org/lkml/