]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
salvager: Remove PrintVolumeSummary
authorAndrew Deason <adeason@sinenomine.net>
Wed, 22 Feb 2012 00:03:24 +0000 (18:03 -0600)
committerDerrick Brashear <shadow@dementix.org>
Fri, 24 Feb 2012 12:25:35 +0000 (04:25 -0800)
Nothing uses this function; remove it.

Change-Id: I55ae048ba920bbd10030c227724323fa20681941
Reviewed-on: http://gerrit.openafs.org/6785
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/vol/vol-salvage.c
src/vol/vol-salvage.h

index 0270976bf17c32963705a6cb0947fffd7c651db6..ab755f67f0137cd4f771a067b8c2a95ebc13fffb 100644 (file)
@@ -4626,17 +4626,6 @@ PrintInodeSummary(struct SalvInfo *salvinfo)
     }
 }
 
-void
-PrintVolumeSummary(struct SalvInfo *salvinfo)
-{
-    int i;
-    struct VolumeSummary *vsp;
-
-    for (i = 0, vsp = salvinfo->volumeSummaryp; i < salvinfo->nVolumes; vsp++, i++) {
-       Log("fileName:%s, header, wouldNeedCallback\n", vsp->fileName);
-    }
-}
-
 int
 Fork(void)
 {
index ecf524e56e52b6a78a22d9a6bea01e6e1f52824d..21f7fb2a6da32caf4fddd822b91c361fdc419a57 100644 (file)
@@ -223,7 +223,6 @@ extern void ObtainSalvageLock(void);
 extern void ObtainSharedSalvageLock(void);
 extern void PrintInodeList(struct SalvInfo *salvinfo);
 extern void PrintInodeSummary(struct SalvInfo *salvinfo);
-extern void PrintVolumeSummary(struct SalvInfo *salvinfo);
 extern int QuickCheck(struct SalvInfo *salvinfo, struct InodeSummary *isp,
                       int nVols);
 extern void RemoveTheForce(char *path);