Commit 2bc43c92 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] sn: klgraph.c clean up

From: Pat Gefre <pfg@sgi.com>

klgraph.c clean up
parent 4e8caa8f
......@@ -750,7 +750,7 @@ hwgraph_inventory_remove( vertex_hdl_t de,
* "/" but rather it just stops right before /dev ..
*/
int
hwgraph_vertex_name_get(vertex_hdl_t vhdl, char *buf, uint buflen)
hwgraph_vertex_name_get(vertex_hdl_t vhdl, char *buf, unsigned int buflen)
{
char *locbuf;
int pos;
......@@ -785,7 +785,7 @@ hwgraph_vertex_name_get(vertex_hdl_t vhdl, char *buf, uint buflen)
#define DEVNAME_UNKNOWN "UnknownDevice"
char *
vertex_to_name(vertex_hdl_t vhdl, char *buf, uint buflen)
vertex_to_name(vertex_hdl_t vhdl, char *buf, unsigned int buflen)
{
if (hwgraph_vertex_name_get(vhdl, buf, buflen) == GRAPH_SUCCESS)
return(buf);
......
......@@ -26,12 +26,6 @@ extern vertex_hdl_t hwgraph_root;
extern void io_module_init(void);
extern int pci_bus_to_hcl_cvlink(void);
/* #define DEBUG_IO_INIT 1 */
#ifdef DEBUG_IO_INIT
#define DBG(x...) printk(x)
#else
#define DBG(x...)
#endif /* DEBUG_IO_INIT */
/*
* This routine is responsible for the setup of all the IRIX hwgraph style
......
This diff is collapsed.
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