From 348fd187ba4108133b3ae82920e548e945f5c80c Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Tue, 10 Dec 2013 19:20:01 +0100 Subject: i386/i386at/kd.c (kdmmap): remove unnecessary cast Variable off is already an unsigned int. * i386/i386at/kd.c (kdmmap) (off): Remove unnecessary cast. --- i386/i386at/kd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386') diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index 8b09ada..9182e26 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -561,7 +561,7 @@ kdmmap(dev, off, prot) off_t off; int prot; { - if ((u_int) off >= (128*1024)) + if (off >= (128*1024)) return(-1); /* Get page frame number for the page to be mapped. */ -- cgit v1.2.3