diff options
author | charnier <charnier@FreeBSD.org> | 2005-05-20 12:46:34 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2005-05-20 12:46:34 +0000 |
commit | 6ae7d111912ef1516971e56dc4b5cdb3533bfc83 (patch) | |
tree | 66643bb7f9a5aaeef46eee10afbf0bb0ec626cc0 /lib/libdevinfo/devinfo.c | |
parent | 2ccb9932447c2d6ea01da8366cf9c4c833c5078c (diff) | |
download | FreeBSD-src-6ae7d111912ef1516971e56dc4b5cdb3533bfc83.zip FreeBSD-src-6ae7d111912ef1516971e56dc4b5cdb3533bfc83.tar.gz |
Remove unused variables. Whitespace cleaning.
Diffstat (limited to 'lib/libdevinfo/devinfo.c')
-rw-r--r-- | lib/libdevinfo/devinfo.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/libdevinfo/devinfo.c b/lib/libdevinfo/devinfo.c index 7aa542e..a9734f9 100644 --- a/lib/libdevinfo/devinfo.c +++ b/lib/libdevinfo/devinfo.c @@ -164,13 +164,13 @@ devinfo_init_devices(int generation) { struct u_device udev; struct devinfo_i_dev *dd; - int dev_idx; - int dev_ptr; - int name2oid[2]; - int oid[CTL_MAXNAME + 12]; + int dev_idx; + int dev_ptr; + int name2oid[2]; + int oid[CTL_MAXNAME + 12]; size_t oidlen, rlen; - char *name, *np, *fmt; - int error, hexmode; + char *name; + int error; /* * Find the OID for the rman interface node. @@ -245,15 +245,15 @@ devinfo_init_resources(int generation) { struct u_rman urman; struct devinfo_i_rman *dm; - struct u_resource ures; + struct u_resource ures; struct devinfo_i_res *dr; - int rman_idx, res_idx; - int rman_ptr, res_ptr; - int name2oid[2]; - int oid[CTL_MAXNAME + 12]; + int rman_idx, res_idx; + int rman_ptr, res_ptr; + int name2oid[2]; + int oid[CTL_MAXNAME + 12]; size_t oidlen, rlen; - char *name, *np, *fmt; - int error, hexmode; + char *name; + int error; /* * Find the OID for the rman interface node. |