From d9888e41d55c5f8d8ac65757ba4ec512bface958 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 10 Feb 2002 22:07:41 +0000 Subject: [PATCH] GC the unused einval() Obtained from: ~bde/sys.dif.gz --- sys/kern/subr_xxx.c | 11 ----------- sys/sys/systm.h | 1 - 2 files changed, 12 deletions(-) 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));