From 7eb650a6edd96e3c7e68f170945ddcdac8b67975 Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Sat, 8 Sep 2018 20:35:25 -0500 Subject: [PATCH] OPENAFS-SA-2018-001 butc: remove dummy osi_audit() routine This local stub was present in the original IBM import and is unused. It will conflict with the real audit code once we start adding auditing to the TC_ RPCs, so remove it now. (cherry picked from commit 50216dbbc30ed94f89bdd0e964f4891e87f28c0b) Change-Id: I63db513bb107ef47da77f13b27cdf5d24b4a24b4 --- src/butc/tcmain.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/butc/tcmain.c b/src/butc/tcmain.c index 197fe256a0..89b711a561 100644 --- a/src/butc/tcmain.c +++ b/src/butc/tcmain.c @@ -109,14 +109,6 @@ int rxBind = 0; #define ADDRSPERSITE 16 /* Same global is in rx/rx_user.c */ afs_uint32 SHostAddrs[ADDRSPERSITE]; -/* dummy routine for the audit work. It should do nothing since audits */ -/* occur at the server level and bos is not a server. */ -int -osi_audit(void) -{ - return 0; -} - static afs_int32 SafeATOL(char *anum) {