Eliminate compiler warning.
This commit is contained in:
parent
b6e744b572
commit
bd3d61e39f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41631
@ -47,7 +47,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_ie.c,v 1.56 1998/08/10 17:21:48 bde Exp $
|
||||
* $Id: if_ie.c,v 1.57 1998/10/22 05:58:39 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -2261,7 +2261,9 @@ static int
|
||||
ieioctl(struct ifnet *ifp, u_long command, caddr_t data)
|
||||
{
|
||||
struct ifaddr *ifa = (struct ifaddr *) data;
|
||||
#if defined(IPX) || defined(NS)
|
||||
struct ie_softc *ie = ifp->if_softc;
|
||||
#endif
|
||||
struct ifreq *ifr = (struct ifreq *) data;
|
||||
int s, error = 0;
|
||||
|
||||
|
@ -47,7 +47,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_ie.c,v 1.56 1998/08/10 17:21:48 bde Exp $
|
||||
* $Id: if_ie.c,v 1.57 1998/10/22 05:58:39 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -2261,7 +2261,9 @@ static int
|
||||
ieioctl(struct ifnet *ifp, u_long command, caddr_t data)
|
||||
{
|
||||
struct ifaddr *ifa = (struct ifaddr *) data;
|
||||
#if defined(IPX) || defined(NS)
|
||||
struct ie_softc *ie = ifp->if_softc;
|
||||
#endif
|
||||
struct ifreq *ifr = (struct ifreq *) data;
|
||||
int s, error = 0;
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ide_pci.c,v 1.14 1998/07/15 02:32:26 bde Exp $
|
||||
* $Id: ide_pci.c,v 1.15 1998/12/04 21:41:18 archie Exp $
|
||||
*/
|
||||
|
||||
#include "pci.h"
|
||||
@ -1265,7 +1265,10 @@ ide_pci_dmasetup(void *xcp, char *vaddr, u_long vcount, int dir)
|
||||
u_long prd_base, prd_count;
|
||||
u_long nbase, ncount, nend;
|
||||
int iobase_bm;
|
||||
u_long count, checkcount;
|
||||
u_long count;
|
||||
#ifdef DIAGNOSTIC
|
||||
u_long checkcount;
|
||||
#endif
|
||||
|
||||
prd = cp->prd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user