From: Andrew Deason Date: Thu, 10 May 2018 21:05:10 +0000 (-0500) Subject: ubik: Remove 'mtime' from ubik_stat X-Git-Tag: upstream/1.8.1_pre2^2~45 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7200e6c5cbac93399640355fc2af6568ad6aa346;p=packages%2Fo%2Fopenafs.git ubik: Remove 'mtime' from ubik_stat Nothing uses the 'mtime' field from ubik_stat. Remove it. Reviewed-on: https://gerrit.openafs.org/13068 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk (cherry picked from commit b8617f08d1bf57a6b3fbba44e5b4de24dc84a9bb) Change-Id: I1770e55aa45192b4bab6d4256be562cb308fd03a Reviewed-on: https://gerrit.openafs.org/13118 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk --- diff --git a/src/ubik/phys.c b/src/ubik/phys.c index 4ce6a226d..0bc24f184 100644 --- a/src/ubik/phys.c +++ b/src/ubik/phys.c @@ -159,7 +159,6 @@ uphys_stat(struct ubik_dbase *adbase, afs_int32 afid, struct ubik_stat *astat) if (code < 0) { return code; } - astat->mtime = tstat.st_mtime; code = tstat.st_size - HDRSIZE; if (code < 0) astat->size = 0; diff --git a/src/ubik/ubik.p.h b/src/ubik/ubik.p.h index 9454cacb4..3f3d41ba7 100644 --- a/src/ubik/ubik.p.h +++ b/src/ubik/ubik.p.h @@ -123,7 +123,6 @@ struct ubik_trunc { struct ubik_stat { afs_int32 size; - afs_int32 mtime; }; #include /* just to make sure we've got this */