diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-10 19:20:01 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-11 00:13:25 +0100 |
commit | 348fd187ba4108133b3ae82920e548e945f5c80c (patch) | |
tree | 5dde5d2b9d2ad73bd5d49e84cb1d8840334b7e12 /i386 | |
parent | 20330e2ef271a5effee1d8b39db1bfec8f465ec7 (diff) |
i386/i386at/kd.c (kdmmap): remove unnecessary cast
Variable off is already an unsigned int.
* i386/i386at/kd.c (kdmmap) (off): Remove unnecessary cast.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/kd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |