OSDN Git Service

libparted: remove _blkpg_get_partition
authorJim Meyering <meyering@redhat.com>
Thu, 5 Jan 2012 19:48:19 +0000 (20:48 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 5 Jan 2012 19:48:31 +0000 (20:48 +0100)
commitb6ef0215a241e59ddcd14d5a2f85ac3243bd465d
treed046123520bb3d4315359955cbe69a49db6610df
parent9b9913a315fb739fb8b886e84c8dd137539faacf
libparted: remove _blkpg_get_partition

[I applied Phillip's initial patch, omitting both my adjustments
and his own v2 changes.  This addresses both of those omissions. ]
* libparted/arch/linux.c (_blkpg_get_partition): Remove function
and sole use, per patch from Phillip Susi.
(_kernel_get_partition_start_and_length): Adjust formatting,
remove unnecessary test and correct a diagnostic.
libparted/arch/linux.c