Remove useless comments.

Requested by:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2017-10-05 11:56:04 +00:00
parent a1fc6a8c49
commit 687a5be47a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324304

View File

@ -655,12 +655,7 @@ amd64_set_ldt(struct thread *td, struct i386_ldt_args *uap,
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 *uap,
break;
default:
return(EINVAL);
/*NOTREACHED*/
}
/* Only user (ring-3) descriptors may be present. */