git: 573bd1fcf532 - main - wg: Drop the compat shim for sbcreatecontrol().

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 11 Nov 2022 22:22:36 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=573bd1fcf532eae35ac30d6aa2c6ff4985a60fe8

commit 573bd1fcf532eae35ac30d6aa2c6ff4985a60fe8
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-11-11 22:18:48 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-11-11 22:18:48 +0000

    wg: Drop the compat shim for sbcreatecontrol().
    
    I had to make a few other changes when merging the driver to stable/13
    anyway, so adjusting this as well isn't really a big deal.
    
    MFC after:      3 days
---
 sys/dev/wg/compat.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/sys/dev/wg/compat.h b/sys/dev/wg/compat.h
index 29f6ea92a50e..72bbf8c3571d 100644
--- a/sys/dev/wg/compat.h
+++ b/sys/dev/wg/compat.h
@@ -7,11 +7,4 @@
  * It is different from support.h, which is for code that is not _yet_ upstream.
  */
 
-#include <sys/param.h>
-
 #define COMPAT_NEED_BLAKE2S
-
-#if __FreeBSD_version < 1400059
-#include <sys/sockbuf.h>
-#define sbcreatecontrol(a, b, c, d, e) sbcreatecontrol(a, b, c, d)
-#endif