git: f9669d9986a1 - stable/15 - cuse: Retire unnecessary CUSE_VERSION
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Oct 2026 06:24:38 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=f9669d9986a193da4e2dbab88d36f0dc220ab6e7
commit f9669d9986a193da4e2dbab88d36f0dc220ab6e7
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-09-30 09:49:58 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-10-07 06:23:31 +0000
cuse: Retire unnecessary CUSE_VERSION
No functional change intended.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 34b00da59b8f8c3fa877135beaefd3ad31841f41)
---
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