Module Name: src
Committed By: christos
Date: Sun Mar 23 03:41:10 UTC 2014
Modified Files:
src/sys/dev/gpib: rd.c
Log Message:
remove unused
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/gpib/rd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/gpib/rd.c
diff -u src/sys/dev/gpib/rd.c:1.32 src/sys/dev/gpib/rd.c:1.33
--- src/sys/dev/gpib/rd.c:1.32 Sun Mar 16 01:20:27 2014
+++ src/sys/dev/gpib/rd.c Sat Mar 22 23:41:10 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: rd.c,v 1.32 2014/03/16 05:20:27 dholland Exp $ */
+/* $NetBSD: rd.c,v 1.33 2014/03/23 03:41:10 christos Exp $ */
/*-
* Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.32 2014/03/16 05:20:27 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.33 2014/03/23 03:41:10 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -697,7 +697,7 @@ void
rdstart(struct rd_softc *sc)
{
struct buf *bp = bufq_peek(sc->sc_tab);
- int part, slave, punit;
+ int slave, punit;
slave = sc->sc_slave;
punit = sc->sc_punit;
@@ -707,7 +707,6 @@ rdstart(struct rd_softc *sc)
again:
- part = RDPART(bp->b_dev);
sc->sc_flags |= RDF_SEEK;
sc->sc_ioc.c_unit = CS80CMD_SUNIT(punit);
sc->sc_ioc.c_volume = CS80CMD_SVOL(0);