Whamcloud - gitweb
LU-9223: Server on Linux 4.4: XATTR_NAME_POSIX_ACL_ACCESS
[fs/lustre-release.git] / lustre / mdt / mdt_hsm_cdt_actions.c
index 14b08f9..8c5f504 100644 (file)
@@ -23,7 +23,7 @@
  * (C) Copyright 2012 Commissariat a l'energie atomique et aux energies
  *     alternatives
  *
- * Copyright (c) 2013, 2014, Intel Corporation.
+ * Copyright (c) 2013, 2016, Intel Corporation.
  */
 /*
  * lustre/mdt/mdt_hsm_cdt_actions.c
@@ -365,7 +365,6 @@ static int hsm_actions_show_cb(const struct lu_env *env,
        struct seq_file              *s = data;
        struct agent_action_iterator *aai;
        int                           sz;
-       size_t                        count;
        char                          buf[12];
        ENTRY;
 
@@ -381,7 +380,6 @@ static int hsm_actions_show_cb(const struct lu_env *env,
                     hdr->lrh_index <= aai->aai_index))
                RETURN(0);
 
-       count = s->count;
        sz = larr->arr_hai.hai_len - sizeof(larr->arr_hai);
        seq_printf(s, "lrh=[type=%X len=%d idx=%d/%d] fid="DFID
                   " dfid="DFID" compound/cookie=%#llx/%#llx"