]> sourceware.org Git - lvm2.git/commitdiff
Remove unused passed parameters
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 7 Sep 2011 08:37:48 +0000 (08:37 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 7 Sep 2011 08:37:48 +0000 (08:37 +0000)
WHATS_NEW_DM
libdm/libdm-deptree.c

index b05f4f0eb1ba454a174ba017735b726e9a9dc5a9..a761f1ba175dbb9125d612fb8852cdd52f57d6b2 100644 (file)
@@ -1,5 +1,6 @@
 Version 1.02.68 -
 ==================================
+  Remove unused passed parameters for _mirror_emit_segment_line().
   Add dm_config and string character escaping functions to libdevmapper.
   Mark unreleased memory pools as internal error.
 
index 5439f7acead988895b31d4805831af97618fcb21..0db8de2e5912f3984513f7ee5d900d945bdaa0ff 100644 (file)
@@ -1594,10 +1594,8 @@ static int _replicator_emit_segment_line(const struct load_segment *seg, char *p
 /*
  * Returns: 1 on success, 0 on failure
  */
-static int _mirror_emit_segment_line(struct dm_task *dmt, uint32_t major,
-                                    uint32_t minor, struct load_segment *seg,
-                                    uint64_t *seg_start, char *params,
-                                    size_t paramsize)
+static int _mirror_emit_segment_line(struct dm_task *dmt, struct load_segment *seg,
+                                    char *params, size_t paramsize)
 {
        int block_on_error = 0;
        int handle_errors = 0;
@@ -1784,8 +1782,7 @@ static int _emit_segment_line(struct dm_task *dmt, uint32_t major,
                break;
        case SEG_MIRRORED:
                /* Mirrors are pretty complicated - now in separate function */
-               r = _mirror_emit_segment_line(dmt, major, minor, seg, seg_start,
-                                             params, paramsize);
+               r = _mirror_emit_segment_line(dmt, seg, params, paramsize);
                if (!r)
                        return_0;
                break;
This page took 0.038474 seconds and 5 git commands to generate.