git: 16df72a9a236 - main - udf: Remove set but unused variable from udf_getattr.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 10 Apr 2023 17:43:58 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=16df72a9a2362e38b4d2e6e739f0a20b33c80790

commit 16df72a9a2362e38b4d2e6e739f0a20b33c80790
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-04-10 17:31:45 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-04-10 17:31:45 +0000

    udf: Remove set but unused variable from udf_getattr.
    
    Reviewed by:    emaste
    Reported by:    GCC
    Differential Revision:  https://reviews.freebsd.org/D39354
---
 sys/fs/udf/udf_vnops.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c
index fd2d5c5c0439..41f9d4a054b3 100644
--- a/sys/fs/udf/udf_vnops.c
+++ b/sys/fs/udf/udf_vnops.c
@@ -289,9 +289,6 @@ udf_getattr(struct vop_getattr_args *a)
 	struct udf_node *node;
 	struct vattr *vap;
 	struct file_entry *fentry;
-	struct timespec ts;
-
-	ts.tv_sec = 0;
 
 	vp = a->a_vp;
 	vap = a->a_vap;