From: Andrew Deason Date: Thu, 10 May 2018 21:05:10 +0000 (-0500) Subject: ubik: Remove 'mtime' from ubik_stat X-Git-Tag: openafs-devel-1_9_0~568 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=b8617f08d1bf57a6b3fbba44e5b4de24dc84a9bb ubik: Remove 'mtime' from ubik_stat Nothing uses the 'mtime' field from ubik_stat. Remove it. Change-Id: I7611a7ca5aa5743be43aefafeda5ecf9a5d47598 Reviewed-on: https://gerrit.openafs.org/13068 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- diff --git a/src/ubik/phys.c b/src/ubik/phys.c index 4ce6a22..0bc24f1 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 9454cac..3f3d41b 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 */