From a7d04f0770beb08ea7db2dcdc3dee80b2a57233a Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 24 Mar 2022 12:04:13 -0500 Subject: [PATCH] afs: Remove redundant AFS_LINUX_ENV test After our Linux checks were converted to AFS_LINUX_ENV in commit 6329a523 (Change AFS*_LINUXnn_ENV to AFS*_LINUX_ENV), the extra AFS_LINUX_ENV check in this line doesn't make any sense. Get rid of it. Change-Id: I4196744b1a6674469efef04aa487a50743084656 Reviewed-on: https://gerrit.openafs.org/14935 Reviewed-by: Marcio Brito Barbosa Reviewed-by: Cheyenne Wills Reviewed-by: Benjamin Kaduk Tested-by: BuildBot --- src/afs/afs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/afs.h b/src/afs/afs.h index 0e85cc037d..ae18a3b10e 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -73,7 +73,7 @@ extern enum afs_shutdown_state afs_shuttingdown; #if defined(AFS_HPUX102_ENV) #define AFS_FLOCK k_flock #else -#if defined(AFS_SUN5_ENV) || (defined(AFS_LINUX_ENV) && !(defined(AFS_LINUX_ENV) && defined(AFS_LINUX_64BIT_KERNEL))) +#if defined(AFS_SUN5_ENV) || (defined(AFS_LINUX_ENV) && !defined(AFS_LINUX_64BIT_KERNEL)) #define AFS_FLOCK flock64 #else #define AFS_FLOCK flock