From nobody Sun Feb 8 11:16:18 2026 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A42A514D702 for ; Thu, 15 Aug 2024 21:36:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723757773; cv=none; b=HRo8cUBZmJWYdHr0sxdi5CE37ZqS35qTRI4Rbv2jq1pwhFWUjuritI12VolV5GhSrwU4C8P0QolEIb2PxABkSKeKXFyCAak6TLDbyWyBVFO41E3rp1+Em53kYcf9gWegPPO8D959xBBmX1FUdTz7pWXAzNNMen0vGcVeHyZg83M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723757773; c=relaxed/simple; bh=mOac5qzzGyyVEGSWRz2iL+Q6O9hEJNRQVbnxA854O/A=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=jTB5uZLf1ogoQ9ig41uOtXIPaQRabPZKxvHmiKD1f6n77lSrOV6T/XsDGNpNEzxsMq7s98MoSEfsMXrSLHXheD7bYnaAlcHO6hUl44ME+oYltcrcSqCvVczQLd8vfABAGN4VQcr5Zl4JNLga70XiaPcD1in4UQVbB1d74VrmjQo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toblux.com; spf=none smtp.mailfrom=toblux.com; dkim=pass (2048-bit key) header.d=toblux-com.20230601.gappssmtp.com header.i=@toblux-com.20230601.gappssmtp.com header.b=iBbntoeo; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toblux.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=toblux.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=toblux-com.20230601.gappssmtp.com header.i=@toblux-com.20230601.gappssmtp.com header.b="iBbntoeo" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-428243f928fso13309155e9.0 for ; Thu, 15 Aug 2024 14:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toblux-com.20230601.gappssmtp.com; s=20230601; t=1723757770; x=1724362570; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=g68gIqBQ2QfEwT+TpHj5FQDPpGo/AVym/P/p31T0VSM=; b=iBbntoeoUyb0GXWa2nn5BdyFbR7W2kLVXukyD8WlDRxDL7E94AAIEYLrHapUAPjggg az5h9x4ptNL1dd2L2lDdFysUnUQwA7STs1evKcUfwIvHSVld1akiJDt+AqrYw10TUUn0 IlBOv9Pd5P95PfDwiEhS66zKBg5HDNbnx0uk9wnbCb+a7lyZKwczQjl5X6wvWxGnbm4z NWPrxtUVxyroNG3RQ+LRwIVQ65OcIc8ZQj9cAubd5pJSOFoZ/ww/iOnCeWqiE5az3MKG Ql3SdClq/8Ky7XSFklKCnWQDhAihyDsxu4xlmL1I/5lopWzYAPEy1DLfevpStOY2RhyC R1Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723757770; x=1724362570; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=g68gIqBQ2QfEwT+TpHj5FQDPpGo/AVym/P/p31T0VSM=; b=XH9u2wj7jLbOWUWPeLBl3M07jm7n310hEvWeBQCjDmeBJ3fbaNbePYf+a1qcTYW0ZR if6hYkb8l8e/MeX4TpEwP5ZH659x3uWsQMN2j9JgsHH8ilx/HoH9A/B+rj0vMs4KUIpU vocTZW7f2v7uFnC3RgFI7WAFq8/l1nnNWt2vSZ2oy9/OyQ8APP+s3rzXfCR111qm7JVf FiJ+DuKOJ7BzTIFfsG4xaRBE6JpbsUDMKylslpFCBVJsZTebHzgeg8VRFKnCKbxIe4Zb J9eVblsrIdDGAwmUi0DEvc325SwrLGzZusfB32ik/RMm1xoeRf3qKe47+w9VZjpNLjur Z8Sw== X-Forwarded-Encrypted: i=1; AJvYcCUN9NVMp5zJ4tYos7+8is/3e/rg/hT/uq42APZinbL/0EPARggR/Jbdx3gMjdk+1CFQmS+7XK5HytSYZsKjbRlaLD4rvu5C+vrlWivj X-Gm-Message-State: AOJu0YxhL37WBwuBhKkAEV8SMx7H0zJ2vsTdWeoz8olji25wOkjZuz6g zr/NhHj60oI0x7OuvhWK8qUHNXxkTQYzzSKAdNUqS5Dcn0PuV0yaKZLunsDEc1A= X-Google-Smtp-Source: AGHT+IF4S9c0XMAnCX/TBjYmE2/4J+KGavrLYPeyZOETX2g5JKQV4Q7kt8/04Jd2nKjcOMSf5I5Ifw== X-Received: by 2002:a05:600c:45cd:b0:426:6e9a:7a1e with SMTP id 5b1f17b1804b1-429ed7ed5c0mr4930285e9.35.1723757769481; Thu, 15 Aug 2024 14:36:09 -0700 (PDT) Received: from debian.fritz.box. (aftr-62-216-208-163.dynamic.mnet-online.de. [62.216.208.163]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429ed6585d1sm4783225e9.22.2024.08.15.14.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Aug 2024 14:36:09 -0700 (PDT) From: Thorsten Blum To: dsterba@suse.com, brauner@kernel.org, viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Thorsten Blum Subject: [PATCH] affs: Remove unused macros GET_END_PTR, AFFS_GET_HASHENTRY Date: Thu, 15 Aug 2024 23:35:01 +0200 Message-Id: <20240815213500.37282-1-thorsten.blum@toblux.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The macros GET_END_PTR() and AFFS_GET_HASHENTRY() are not used anymore and can be removed. Remove them. Signed-off-by: Thorsten Blum --- fs/affs/affs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/affs/affs.h b/fs/affs/affs.h index 2e612834329a..e8c2c4535cb3 100644 --- a/fs/affs/affs.h +++ b/fs/affs/affs.h @@ -14,8 +14,6 @@ =20 /* Ugly macros make the code more pretty. */ =20 -#define GET_END_PTR(st,p,sz) ((st *)((char *)(p)+((sz)-sizeof(st)))) -#define AFFS_GET_HASHENTRY(data,hashkey) be32_to_cpu(((struct dir_front *)= data)->hashtable[hashkey]) #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hash= size-1-(blk)]) =20 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) --=20 2.39.2