Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144765103
D36912.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D36912.diff
View Options
diff --git a/sys/dev/wg/if_wg.c b/sys/dev/wg/if_wg.c
--- a/sys/dev/wg/if_wg.c
+++ b/sys/dev/wg/if_wg.c
@@ -48,7 +48,6 @@
#include <netinet/udp_var.h>
#include <netinet6/nd6.h>
-#include "support.h"
#include "wg_noise.h"
#include "wg_cookie.h"
#include "version.h"
diff --git a/sys/dev/wg/support.h b/sys/dev/wg/support.h
deleted file mode 100644
--- a/sys/dev/wg/support.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: ISC
- *
- * Copyright (C) 2021 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
- * Copyright (c) 2021 Kyle Evans <kevans@FreeBSD.org>
- *
- * support.h contains code that is not _yet_ upstream in FreeBSD's main branch.
- * It is different from compat.h, which is strictly for backports.
- */
-
-#ifndef _WG_SUPPORT
-#define _WG_SUPPORT
-
-#ifndef ck_pr_store_bool
-#define ck_pr_store_bool(dst, val) ck_pr_store_8((uint8_t *)(dst), (uint8_t)(val))
-#endif
-
-#ifndef ck_pr_load_bool
-#define ck_pr_load_bool(src) ((bool)ck_pr_load_8((uint8_t *)(src)))
-#endif
-
-#endif
diff --git a/sys/dev/wg/wg_noise.c b/sys/dev/wg/wg_noise.c
--- a/sys/dev/wg/wg_noise.c
+++ b/sys/dev/wg/wg_noise.c
@@ -20,7 +20,6 @@
#include "crypto.h"
#include "wg_noise.h"
-#include "support.h"
/* Protocol string constants */
#define NOISE_HANDSHAKE_NAME "Noise_IKpsk2_25519_ChaChaPoly_BLAKE2s"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 13, 7:45 AM (5 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28675289
Default Alt Text
D36912.diff (1 KB)
Attached To
Mode
D36912: wg: Retire now unused support.h.
Attached
Detach File
Event Timeline
Log In to Comment