Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[linux-2.6-block.git] / fs / ubifs / lprops.c
index 6c3a1abd0e22c9e033da093e4f21b4d3ad9898b2..f5a46844340c0a6e8bde656f2ea48cc513d6900d 100644 (file)
@@ -244,7 +244,6 @@ static void remove_from_lpt_heap(struct ubifs_info *c,
 /**
  * lpt_heap_replace - replace lprops in a category heap.
  * @c: UBIFS file-system description object
- * @old_lprops: LEB properties to replace
  * @new_lprops: LEB properties with which to replace
  * @cat: LEB category
  *
@@ -254,7 +253,6 @@ static void remove_from_lpt_heap(struct ubifs_info *c,
  * lprops.  This function does that.
  */
 static void lpt_heap_replace(struct ubifs_info *c,
-                            struct ubifs_lprops *old_lprops,
                             struct ubifs_lprops *new_lprops, int cat)
 {
        struct ubifs_lpt_heap *heap;
@@ -362,7 +360,7 @@ void ubifs_replace_cat(struct ubifs_info *c, struct ubifs_lprops *old_lprops,
        case LPROPS_DIRTY:
        case LPROPS_DIRTY_IDX:
        case LPROPS_FREE:
-               lpt_heap_replace(c, old_lprops, new_lprops, cat);
+               lpt_heap_replace(c, new_lprops, cat);
                break;
        case LPROPS_UNCAT:
        case LPROPS_EMPTY: