Commit f94e5d50 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] sn: Delete unused pciio.c code (???_host???_[sg]et)

From: Pat Gefre <pfg@sgi.com>

Delete unused pciio.c code (???_host???_[sg]et)
parent b5e2a94b
......@@ -633,25 +633,6 @@ pciio_info_get(vertex_hdl_t pciio)
return pciio_info;
}
/*
* Given a vertex_hdl_t, return the pciio_info_t from the host device - that
* is, the device plugged into the slot on the host bus.
*/
pciio_info_t
pciio_hostinfo_get(vertex_hdl_t pciio)
{
pciio_info_t pciio_info;
pciio_info = pciio_info_get(pciio);
if (pciio_info && (pciio_info->c_vertex != pciio_info->c_hostvertex)) {
pciio_info = pciio_info_get(pciio_info->c_hostvertex);
}
return pciio_info;
}
void
pciio_info_set(vertex_hdl_t pciio, pciio_info_t pciio_info)
{
......@@ -673,12 +654,6 @@ pciio_info_dev_get(pciio_info_t pciio_info)
return (pciio_info->c_vertex);
}
vertex_hdl_t
pciio_info_hostdev_get(pciio_info_t pciio_info)
{
return (pciio_info->c_hostvertex);
}
/*ARGSUSED*/
pciio_bus_t
pciio_info_bus_get(pciio_info_t pciio_info)
......@@ -692,15 +667,6 @@ pciio_info_slot_get(pciio_info_t pciio_info)
return (pciio_info->c_slot);
}
pciio_slot_t
pciio_info_hostslot_get(pciio_info_t pciio_info)
{
vertex_hdl_t host_vhdl = pciio_info_hostdev_get(pciio_info);
pciio_info_t host_info = pciio_info_get(host_vhdl);
return (pciio_info_slot_get(host_info));
}
pciio_function_t
pciio_info_function_get(pciio_info_t pciio_info)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment