From 7200e6c5cbac93399640355fc2af6568ad6aa346 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 10 May 2018 16:05:10 -0500 Subject: [PATCH] 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 --- src/ubik/phys.c | 1 - src/ubik/ubik.p.h | 1 - 2 files changed, 2 deletions(-) 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 */ -- 2.39.5