Add __diagused.

This commit is contained in:
hannken 2014-04-08 13:20:01 +00:00
parent 889d7bb33a
commit bd6cf2a10c
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: seagate.c,v 1.71 2012/10/27 17:18:25 chs Exp $ */
/* $NetBSD: seagate.c,v 1.72 2014/04/08 13:20:01 hannken Exp $ */
/*
* ST01/02, Future Domain TMC-885, TMC-950 SCSI driver
@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: seagate.c,v 1.71 2012/10/27 17:18:25 chs Exp $");
__KERNEL_RCSID(0, "$NetBSD: seagate.c,v 1.72 2014/04/08 13:20:01 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -557,7 +557,7 @@ void
sea_scsipi_request(struct scsipi_channel *chan, scsipi_adapter_req_t req, void *arg)
{
struct scsipi_xfer *xs;
struct scsipi_periph *periph;
struct scsipi_periph *periph __diagused;
struct sea_softc *sea = device_private(chan->chan_adapter->adapt_dev);
struct sea_scb *scb;
int flags;