From ee682fb4f7fcf1032cd0e19f67d42f69b2b5b13f Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Tue, 7 Dec 2004 06:19:16 +0000 Subject: [PATCH] STABLE14-no-oscheck-20041206 remove ostype and osrelease check; more trouble than they're worth (cherry picked from commit d39b99f3da856672edd61adb82532039631b7cb4) --- src/afs/OBSD/osi_vfsops.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/afs/OBSD/osi_vfsops.c b/src/afs/OBSD/osi_vfsops.c index c0595152a..52385ea93 100644 --- a/src/afs/OBSD/osi_vfsops.c +++ b/src/afs/OBSD/osi_vfsops.c @@ -116,7 +116,6 @@ static int lkmid = -1; static int afs_badcall(struct proc *p, void *xx, register_t * yy); static struct sysent old_sysent; -char afs_NetBSD_osname[] = "OpenBSD"; struct osi_vfs *afs_globalVFS; struct vcache *afs_globalVp; @@ -495,11 +494,6 @@ int libafs_lkmentry(struct lkm_table *lkmtp, int cmd, int ver) { if (cmd == LKM_E_LOAD) { - if (strcmp(ostype, afs_NetBSD_osname)) { - printf("This is %s version %s\n", ostype, osrelease); - printf("This version of AFS is only for %s\n", afs_NetBSD_osname); - return EPROGMISMATCH; - } if (sysent[AFS_SYSCALL].sy_call == afs3_syscall || sysent[AFS_SYSCALL].sy_call == afs_badcall) { printf("AFS already loaded\n"); -- 2.39.5