svn commit: trunk/busybox/e2fsprogs: ext2fs

landley at busybox.net landley at busybox.net
Fri May 19 22:42:29 UTC 2006


Author: landley
Date: 2006-05-19 15:42:23 -0700 (Fri, 19 May 2006)
New Revision: 15146

Log:
Remove unused function parameter, from Garrett.


Modified:
   trunk/busybox/e2fsprogs/e2fsck.c
   trunk/busybox/e2fsprogs/ext2fs/ext2fs.h
   trunk/busybox/e2fsprogs/ext2fs/inode.c


Changeset:
Modified: trunk/busybox/e2fsprogs/e2fsck.c
===================================================================
--- trunk/busybox/e2fsprogs/e2fsck.c	2006-05-19 22:14:19 UTC (rev 15145)
+++ trunk/busybox/e2fsprogs/e2fsck.c	2006-05-19 22:42:23 UTC (rev 15146)
@@ -2891,7 +2891,7 @@
 static void handle_fs_bad_blocks(e2fsck_t ctx);
 static void process_inodes(e2fsck_t ctx, char *block_buf);
 static int process_inode_cmp(const void *a, const void *b);
-static errcode_t scan_callback(ext2_filsys fs, ext2_inode_scan scan,
+static errcode_t scan_callback(ext2_filsys fs,
 				  dgrp_t group, void * priv_data);
 static void adjust_extattr_refcount(e2fsck_t ctx, ext2_refcount_t refcount,
 				    char *block_buf, int adjust_sign);
@@ -3721,7 +3721,6 @@
  * glock group, call process_inodes.
  */
 static errcode_t scan_callback(ext2_filsys fs,
-			       ext2_inode_scan scan FSCK_ATTR((unused)),
 			       dgrp_t group, void * priv_data)
 {
 	struct scan_callback_struct *scan_struct;

Modified: trunk/busybox/e2fsprogs/ext2fs/ext2fs.h
===================================================================
--- trunk/busybox/e2fsprogs/ext2fs/ext2fs.h	2006-05-19 22:14:19 UTC (rev 15145)
+++ trunk/busybox/e2fsprogs/ext2fs/ext2fs.h	2006-05-19 22:42:23 UTC (rev 15146)
@@ -752,7 +752,6 @@
 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);

Modified: trunk/busybox/e2fsprogs/ext2fs/inode.c
===================================================================
--- trunk/busybox/e2fsprogs/ext2fs/inode.c	2006-05-19 22:14:19 UTC (rev 15145)
+++ trunk/busybox/e2fsprogs/ext2fs/inode.c	2006-05-19 22:42:23 UTC (rev 15146)
@@ -44,7 +44,6 @@
 	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_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 @@
 	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;




More information about the busybox-cvs mailing list