diff options
author | charnier <charnier@FreeBSD.org> | 2004-01-04 15:51:32 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2004-01-04 15:51:32 +0000 |
commit | d032e602ba35df88de1f96393d537e24f3c81079 (patch) | |
tree | 981e2c0b520df59044f050dede31edcb953b00a9 /usr.sbin/devinfo | |
parent | dd64cc85d6bfc3a4b5374be39a5f0ed015f24cf8 (diff) | |
download | FreeBSD-src-d032e602ba35df88de1f96393d537e24f3c81079.zip FreeBSD-src-d032e602ba35df88de1f96393d537e24f3c81079.tar.gz |
Remove unused local variable.
Diffstat (limited to 'usr.sbin/devinfo')
-rw-r--r-- | usr.sbin/devinfo/devinfo.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/devinfo/devinfo.c b/usr.sbin/devinfo/devinfo.c index 7552f2d..e1cb4bf 100644 --- a/usr.sbin/devinfo/devinfo.c +++ b/usr.sbin/devinfo/devinfo.c @@ -23,14 +23,15 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ /* * Print information about system device configuration. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/types.h> #include <err.h> #include <stdio.h> @@ -103,11 +104,9 @@ int print_device_rman_resources(struct devinfo_rman *rman, void *arg) { struct indent_arg *ia = (struct indent_arg *)arg; - struct devinfo_dev *dev; int indent, i; indent = ia->indent; - dev = (struct devinfo_dev *)ia->arg; /* check whether there are any resources matching this device */ ia->indent = 0; |