Clean up unused-but-set-variable spotted by gcc-4.9.

Reviewed by:	mav
Approved by:	rodrigc (mentor)
MFC after:	2 weeks
Sponsored by:	gandi.net
Differential Revision:	https://reviews.freebsd.org/D5109
This commit is contained in:
Marcelo Araujo 2016-02-01 02:33:58 +00:00
parent bfa3cf970f
commit 314c683931
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295114
2 changed files with 0 additions and 7 deletions

View File

@ -773,9 +773,6 @@ passclose(struct cdev *dev, int flag, int fmt, struct thread *td)
if (softc->open_count == 0) {
struct pass_io_req *io_req, *io_req2;
int need_unlock;
need_unlock = 0;
TAILQ_FOREACH_SAFE(io_req, &softc->done_queue, links, io_req2) {
TAILQ_REMOVE(&softc->done_queue, io_req, links);

View File

@ -4961,10 +4961,6 @@ sasetpos(struct cam_periph *periph, int hard, struct mtlocate *locate_info)
/*sense_len*/ SSD_FULL_SIZE,
/*timeout*/ SPACE_TIMEOUT);
} else {
uint32_t blk_pointer;
blk_pointer = locate_info->logical_id;
scsi_locate_10(&ccb->csio,
/*retries*/ 1,
/*cbfcnp*/ sadone,