Minor style nits

Use full copyright year.
Remove 'All Rights Reserved' from new file (rights holder OK'd)
Minor #ifdef motion and #endif tagging
Remove __FBSDID macro from comments

Sponsored by: Netflix
OK'd by: rrs@
This commit is contained in:
Warner Losh 2018-05-09 14:11:35 +00:00
parent 5e37f7b367
commit 603bbd0631
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333409
3 changed files with 13 additions and 15 deletions

View File

@ -1,6 +1,5 @@
/*-
* Copyright (c) 2016-8
* Netflix Inc. All rights reserved.
* Copyright (c) 2016-2018 Netflix Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions

View File

@ -1,8 +1,5 @@
#ifndef __tcp_hpts_h__
#define __tcp_hpts_h__
/*-
* Copyright (c) 2016-8
* Netflix Inc. All rights reserved.
* Copyright (c) 2016-18 Netflix Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -25,9 +22,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* __FBSDID("$FreeBSD$")
* $FreeBSD$
*/
#ifndef __tcp_hpts_h__
#define __tcp_hpts_h__
/*
* The hpts uses a 102400 wheel. The wheel
* defines the time in 10 usec increments (102400 x 10).
@ -300,5 +300,5 @@ tcp_get_usecs(struct timeval *tv)
return (tcp_tv_to_usectick(tv));
}
#endif
#endif
#endif /* _KERNEL */
#endif /* __tcp_hpts_h__ */

View File

@ -1,7 +1,5 @@
#ifndef __kern_prefetch_h__
/*-
* Copyright (c) 2016-8
* Netflix Inc. All rights reserved.
* Copyright (c) 2016-2018 Netflix Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -24,8 +22,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* __FBSDID("$FreeBSD$")
* $FreeBSD$
*/
#ifndef __kern_prefetch_h__
#define __kern_prefetch_h__
#ifdef _KERNEL
@ -39,5 +38,5 @@ kern_prefetch(const volatile void *addr, void* before)
#endif
}
#endif
#endif
#endif /* _KERNEL */
#endif /* __kern_prefetch_h__ */