git: 34b00da59b8f - main - cuse: Retire unnecessary CUSE_VERSION

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Wed, 30 Sep 2026 09:51:27 UTC
The branch main has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=34b00da59b8f8c3fa877135beaefd3ad31841f41

commit 34b00da59b8f8c3fa877135beaefd3ad31841f41
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-09-30 09:49:58 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-09-30 09:49:58 +0000

    cuse: Retire unnecessary CUSE_VERSION
    
    No functional change intended.
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
---
 sys/fs/cuse/cuse.c      | 4 ----
 sys/fs/cuse/cuse_defs.h | 2 --
 2 files changed, 6 deletions(-)

diff --git a/sys/fs/cuse/cuse.c b/sys/fs/cuse/cuse.c
index cff749cd17bd..52a1693a45ce 100644
--- a/sys/fs/cuse/cuse.c
+++ b/sys/fs/cuse/cuse.c
@@ -280,10 +280,6 @@ cuse_kern_init(void)
 	if (cuse_dev == NULL)
 		return (ENODEV);
 
-	printf("Cuse v%d.%d.%d @ /dev/cuse\n",
-	    (CUSE_VERSION >> 16) & 0xFF, (CUSE_VERSION >> 8) & 0xFF,
-	    (CUSE_VERSION >> 0) & 0xFF);
-
 	return (0);
 }
 
diff --git a/sys/fs/cuse/cuse_defs.h b/sys/fs/cuse/cuse_defs.h
index b467ceeeb66f..12a07e84c2b0 100644
--- a/sys/fs/cuse/cuse_defs.h
+++ b/sys/fs/cuse/cuse_defs.h
@@ -26,8 +26,6 @@
 #ifndef _CUSE_DEFS_H_
 #define	_CUSE_DEFS_H_
 
-#define	CUSE_VERSION		0x000125
-
 #define	CUSE_ERR_NONE		0
 #define	CUSE_ERR_BUSY		-1
 #define	CUSE_ERR_WOULDBLOCK	-2