diff --git a/lustre/obdclass/llog_swab.c b/lustre/obdclass/llog_swab.c
index a64a881940c5a2ae9f84049240d15e8897bdb935..e2ad1adfcbf43193a086203a272c332e3a213c92 100644
--- a/lustre/obdclass/llog_swab.c
+++ b/lustre/obdclass/llog_swab.c
@@ -283,7 +283,6 @@ EXPORT_SYMBOL(lustre_swab_lustre_cfg);
 
 void lustre_swab_cfg_marker(struct cfg_marker *marker)
 {
-        int i;
         ENTRY;
 
         __swab32s(&marker->cm_step);