diff mbox series

[518/622] lustre: obd: discard unused enum

Message ID 1582838290-17243-519-git-send-email-jsimmons@infradead.org (mailing list archive)
State New, archived
Headers show
Series lustre: sync closely to 2.13.52 | expand

Commit Message

James Simmons Feb. 27, 2020, 9:16 p.m. UTC
From: NeilBrown <neilb@suse.de>

The values in this enum are never used - so discard it.

Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: James Simmons <jsimmons@infradaed.org>
---
 fs/lustre/include/obd.h | 8 --------
 1 file changed, 8 deletions(-)
diff mbox series

Patch

diff --git a/fs/lustre/include/obd.h b/fs/lustre/include/obd.h
index 4ba70c7..5f5a595 100644
--- a/fs/lustre/include/obd.h
+++ b/fs/lustre/include/obd.h
@@ -133,14 +133,6 @@  struct timeout_item {
 #define OSC_MAX_DIRTY_MB_MAX	2048	/* arbitrary, but < MAX_LONG bytes */
 #define OSC_DEFAULT_RESENDS	10
 
-/* possible values for fo_sync_lock_cancel */
-enum {
-	NEVER_SYNC_ON_CANCEL	= 0,
-	BLOCKING_SYNC_ON_CANCEL	= 1,
-	ALWAYS_SYNC_ON_CANCEL	= 2,
-	NUM_SYNC_ON_CANCEL_STATES
-};
-
 enum obd_cl_sem_lock_class {
 	OBD_CLI_SEM_NORMAL,
 	OBD_CLI_SEM_MGC,