From ebbb9253438f6051cdb7ba2974554f4793b8bae2 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Sat, 11 Sep 2010 08:21:10 +0100 Subject: [PATCH] ubik: Remove unused error codes The error codes in ubik.p.h have been replaced by ones defined by com_err. Remove the redundant, #if 0, definitions of these, as they're just confusing when grepping the code. Change-Id: I18b827a6e0532a602f904bb6c1e34c3f63c2e08d Reviewed-on: http://gerrit.openafs.org/2757 Reviewed-by: Andrew Deason Reviewed-by: Rod Widdowson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/ubik/ubik.p.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/ubik/ubik.p.h b/src/ubik/ubik.p.h index 3c1da2913..6e606a7df 100644 --- a/src/ubik/ubik.p.h +++ b/src/ubik/ubik.p.h @@ -12,30 +12,6 @@ #include -/* these are now appended by the error table compiler */ -#if 0 -/* ubik error codes */ -#define UMINCODE 100000 /* lowest ubik error code */ -#define UNOQUORUM 100000 /* no quorum elected */ -#define UNOTSYNC 100001 /* not synchronization site (should work on sync site) */ -#define UNHOSTS 100002 /* too many hosts */ -#define UIOERROR 100003 /* I/O error writing dbase or log */ -#define UINTERNAL 100004 /* mysterious internal error */ -#define USYNC 100005 /* major synchronization error */ -#define UNOENT 100006 /* file not found when processing dbase */ -#define UBADLOCK 100007 /* bad lock range size (must be 1) */ -#define UBADLOG 100008 /* read error reprocessing log */ -#define UBADHOST 100009 /* problems with host name */ -#define UBADTYPE 100010 /* bad operation for this transaction type */ -#define UTWOENDS 100011 /* two commits or aborts done to transaction */ -#define UDONE 100012 /* operation done after abort (or commmit) */ -#define UNOSERVERS 100013 /* no servers appear to be up */ -#define UEOF 100014 /* premature EOF */ -#define ULOGIO 100015 /* error writing log file */ -#define UMAXCODE 100100 /* largest ubik error code */ - -#endif - #include /*! \name ubik_trans types */ -- 2.39.5