From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 25 Oct 2012 20:29:36 -0700 Subject: [U-Boot] [PATCH V4 1/3] FAT: remove cur_part_nr In-Reply-To: <1350492299-4342-1-git-send-email-swarren@wwwdotorg.org> References: <1350492299-4342-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20121026032936.GD6338@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 17, 2012 at 10:44:57AM -0600, Stephen Warren wrote: > From: Stephen Warren > > A future patch will implement the more standard filesystem API > fat_set_blk_dev(). This API has no way to know which partition number > the partition represents. Equally, future DM rework will make the > concept of partition number harder to pass around. > > So, simply remove cur_part_nr from fat.c; its only use is in a > diagnostic printf, and the context where it's printed should make it > obvious which partition is referred to anyway (since the partition ID > would come from the user command-line that caused it). > > Signed-off-by: Stephen Warren > --- > v4: New patch: Dropped addition of part number of disk_partition_t, and > replaced it with this patch. For the series, applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: