public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libfdisk: gpt: remove leftover comments
@ 2013-04-24  3:27 Davidlohr Bueso
  2013-04-25  7:48 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2013-04-24  3:27 UTC (permalink / raw)
  To: util-linux; +Cc: Karel Zak

I must have left those in some commit.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
 libfdisk/src/gpt.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c
index 735c9d9..482d453 100644
--- a/libfdisk/src/gpt.c
+++ b/libfdisk/src/gpt.c
@@ -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
-- 
1.7.11.7




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-25  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24  3:27 [PATCH] libfdisk: gpt: remove leftover comments Davidlohr Bueso
2013-04-25  7:48 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox