Author: kib Date: Thu Oct 5 11:56:04 2017 New Revision: 324304 URL: https://svnweb.freebsd.org/changeset/base/324304
Log: Remove useless comments. Requested by: bde Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/amd64/amd64/sys_machdep.c Modified: head/sys/amd64/amd64/sys_machdep.c ============================================================================== --- head/sys/amd64/amd64/sys_machdep.c Thu Oct 5 11:50:01 2017 (r324303) +++ head/sys/amd64/amd64/sys_machdep.c Thu Oct 5 11:56:04 2017 (r324304) @@ -655,12 +655,7 @@ amd64_set_ldt(struct thread *td, struct i386_ldt_args case SDT_SYSNULL4: case SDT_SYSIGT: case SDT_SYSTGT: - /* I can't think of any reason to allow a user proc - * to create a segment of these types. They are - * for OS use only. - */ return (EACCES); - /*NOTREACHED*/ /* memory segment types */ case SDT_MEMEC: /* memory execute only conforming */ @@ -686,7 +681,6 @@ amd64_set_ldt(struct thread *td, struct i386_ldt_args break; default: return(EINVAL); - /*NOTREACHED*/ } /* Only user (ring-3) descriptors may be present. */ _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"