diff --git a/sys/kern/subr_xxx.c b/sys/kern/subr_xxx.c index 094b67c22fc4..7eb169c08a48 100644 --- a/sys/kern/subr_xxx.c +++ b/sys/kern/subr_xxx.c @@ -51,17 +51,6 @@ eopnotsupp() return (EOPNOTSUPP); } -/* - * Return error for an inval operation - * on a specific object or file type. - */ -int -einval() -{ - - return (EINVAL); -} - /* * Generic null operation, always returns success. */ diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 37ace10d2b1a..60e2a33914ae 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -113,7 +113,6 @@ void Debugger __P((const char *msg)); int dumpstatus __P((vm_offset_t addr, off_t count)); int nullop __P((void)); int eopnotsupp __P((void)); -int einval __P((void)); int seltrue __P((dev_t dev, int which, struct thread *td)); int ureadc __P((int, struct uio *)); void *hashinit __P((int count, struct malloc_type *type, u_long *hashmask));