From 206f75784b8e87e44b16be733be1d79e55c38ea8 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 19 May 2006 22:42:23 +0000 Subject: Remove unused function parameter, from Garrett. --- e2fsprogs/ext2fs/ext2fs.h | 1 - e2fsprogs/ext2fs/inode.c | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'e2fsprogs/ext2fs') diff --git a/e2fsprogs/ext2fs/ext2fs.h b/e2fsprogs/ext2fs/ext2fs.h index 76d2ddd..d5a0791 100644 --- a/e2fsprogs/ext2fs/ext2fs.h +++ b/e2fsprogs/ext2fs/ext2fs.h @@ -752,7 +752,6 @@ extern errcode_t ext2fs_inode_scan_goto_blockgroup(ext2_inode_scan scan, extern void ext2fs_set_inode_callback (ext2_inode_scan scan, errcode_t (*done_group)(ext2_filsys fs, - ext2_inode_scan scan, dgrp_t group, void * priv_data), void *done_group_data); diff --git a/e2fsprogs/ext2fs/inode.c b/e2fsprogs/ext2fs/inode.c index db52018..8608dc8 100644 --- a/e2fsprogs/ext2fs/inode.c +++ b/e2fsprogs/ext2fs/inode.c @@ -44,7 +44,6 @@ struct ext2_struct_inode_scan { int bytes_left; char *temp_buffer; errcode_t (*done_group)(ext2_filsys fs, - ext2_inode_scan scan, dgrp_t group, void * priv_data); void * done_group_data; @@ -183,7 +182,6 @@ void ext2fs_close_inode_scan(ext2_inode_scan scan) void ext2fs_set_inode_callback(ext2_inode_scan scan, errcode_t (*done_group)(ext2_filsys fs, - ext2_inode_scan scan, dgrp_t group, void * priv_data), void *done_group_data) @@ -393,7 +391,7 @@ errcode_t ext2fs_get_next_inode_full(ext2_inode_scan scan, ext2_ino_t *ino, force_new_group: if (scan->done_group) { retval = (scan->done_group) - (scan->fs, scan, scan->current_group, + (scan->fs, scan->current_group, scan->done_group_data); if (retval) return retval; -- cgit v1.1