]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: gpt: remove leftover comments
authorDavidlohr Bueso <davidlohr.bueso@hp.com>
Wed, 24 Apr 2013 03:27:26 +0000 (20:27 -0700)
committerKarel Zak <kzak@redhat.com>
Thu, 25 Apr 2013 07:23:41 +0000 (09:23 +0200)
I must have left those in some commit.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
libfdisk/src/gpt.c

index 735c9d95ccf536ae640e60ef332f7af8f4810d56..482d4537cc997a8a51645c84f50ba571ec34b8fc 100644 (file)
@@ -1529,12 +1529,6 @@ static int gpt_create_new_partition(struct fdisk_context *cxt,
 
        gpt_entry_set_type(e, type);
 
-       /* deal with partition name
-       for (i = 0; i < GPT_PART_NAME_LEN; i++)
-               e->partition_name[i] =
-                       cpu_to_le16((uint16_t) gpt_sys_types[sys].name[i]);
-       */
-
        /*
         * Any time a new partition entry is created a new GUID must be
         * generated for that partition, and every partition is guaranteed