From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F29A8CDD1BA for ; Fri, 27 Sep 2024 15:00:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ewXcv/2XPBRYAnPfdFql8YlkvEqZYy2o1lXvILS/Otk=; b=U3hWQydt/cxtQE GIFZW6x7rl13TR7TPgYUN/e9XsBaxjNWpUqXcCJuQC/XS0dc+z23gexPMOp48uW76Ne2rcV4y9ZXz dQKy0Wrv6gSJHGZPdn84o9w2jNEwEkvoqXyjCHhJG/r0ZiIPQAIT1sai97E+SPRHLZvhyHS7nnSCR EW3zCkIvzhzs8PUfpxiGmSn0ubZPDLdaynLfbZgDG2f+dXQP3ZekzjR/V36N5J+kthwpa2g/9JR+p y2GhGSEYPh6LTEcpGbm8t5QYoJVdrMPuwuL4quuSo25yGUpvihDUvYlzvca2c1ETNp1Hd4sTJ76mM nFaP/yk7wmH5HbhX049w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1suCSd-0000000BXm9-2BZr; Fri, 27 Sep 2024 15:00:47 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1suCRA-0000000BXOb-0aeI for linux-mtd@lists.infradead.org; Fri, 27 Sep 2024 14:59:17 +0000 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-37ccd50faafso1477893f8f.3 for ; Fri, 27 Sep 2024 07:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727449154; x=1728053954; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Rvr+aAeqYc0TS+uRT5fh8X+vEgn01CkzNarTSi6yaX0=; b=gUyQsfxY11kR/sXS/ZrD+z5Eb54kvF9ZQNkeWrAW5hFV31KQJUiX84RIR+lTzZaAWL f+loYcYEqcVs1tjBAGb8qh2TsNVZgVIxG42K5QYVph0f4pCdsztuR3hlt+Fq6XKcf2sa ifswHqTU73SiLo+J4FwxzxgpTFtQL362cNdxhhNJfPHorr4knfFPkRgUaZ/Ptu6wxPjs SfDHpCJBjylcpU308BRhAPgbEnYB/c9RsnPkk7zCvup+h3rj6hv0MX3hVzt5ZEitSJV2 f9As91VbKHG5H3S/BK5d8kcT1/mxEy5TNYyFhXkXN8t/jFAbVpm49YojYwUGpatVi8wA cIPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727449154; x=1728053954; 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=Rvr+aAeqYc0TS+uRT5fh8X+vEgn01CkzNarTSi6yaX0=; b=Ixu6Anal8nSx0OK5V0NOTcM5hAv84KFVqvoMRWNYV5bCSr/bzSNeEV0gRB3Tqk0aLM Sksff00Tm2idF17WTg7mo/yceKdmezQIIGT1EIuu/kr2zPN6AmXWHFXGmYdsmRK8GI7U 9WCBS3p9Gx5ZtsVy57zgz6LdS9rryEAVS4s7DoCNELWwP1hiWH238JQGtkoto/kSParC hKdONgWro8bp17oJ2+if5y72fzrJIffD7/L9U0BVRkpKPxrIUKbKqJvVYJYlRyUAKBc9 Qjj5ecnZn/v/44iHRYsxmmQdrXoawUlUUw6IsZGcHQmOoTCEy+bVQkOIljjxKolqJbXX l42Q== X-Forwarded-Encrypted: i=1; AJvYcCXbT7OObarlm+dysMkDf08L/Nb4+ZW0A49HRF1I47kAiuL9Q1l29zzEBFNbNSdfoS2PIeQC1vjcQyI=@lists.infradead.org X-Gm-Message-State: AOJu0Yy441sdLwoZEJzCJCZoTBaa9TRxv3fg9iCj9jLfLCyFmSWQAGGQ NMAPv0gW4p0/8IeMFIyturLsqtC0i6wHq6/SgQNzVdN+cW5YcES/ X-Google-Smtp-Source: AGHT+IG9q2laExEP0nsChGhvAMrYqjDALDI9tG5cQ+2Watn0OQHwMhGGs32p7wB6IkqKrPQQjaahxw== X-Received: by 2002:adf:e589:0:b0:371:8e0d:b0fc with SMTP id ffacd0b85a97d-37cd5aec227mr2291360f8f.35.1727449153857; Fri, 27 Sep 2024 07:59:13 -0700 (PDT) Received: from WTFRLVSE288987LL.home ([2a01:cb15:8444:4a00:ec33:69ba:5260:d1ae]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37cd57424cesm2668397f8f.91.2024.09.27.07.59.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2024 07:59:13 -0700 (PDT) From: pascal.eberhard@gmail.com To: Richard Weinberger Cc: miquel.raynal@bootlin.com, Pascal Eberhard , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH RESEND] ubifs: xattr: remove unused anonymous enum Date: Fri, 27 Sep 2024 16:57:56 +0200 Message-ID: <20240927145757.347630-1-pascal.eberhard@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240927_075916_206555_264E8C5C X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org From: Pascal Eberhard commit 2b88fc21cae9 ("ubifs: Switch to generic xattr handlers") removes usage of this anonymous enum. Delete the enum as well. Signed-off-by: Pascal Eberhard --- fs/ubifs/xattr.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c index 3db8486e3725..32927bf98306 100644 --- a/fs/ubifs/xattr.c +++ b/fs/ubifs/xattr.c @@ -48,19 +48,6 @@ #include #include -/* - * Extended attribute type constants. - * - * USER_XATTR: user extended attribute ("user.*") - * TRUSTED_XATTR: trusted extended attribute ("trusted.*) - * SECURITY_XATTR: security extended attribute ("security.*") - */ -enum { - USER_XATTR, - TRUSTED_XATTR, - SECURITY_XATTR, -}; - static const struct inode_operations empty_iops; static const struct file_operations empty_fops; -- 2.43.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 F156B1C0DE5 for ; Fri, 27 Sep 2024 14:59:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727449157; cv=none; b=DE3waeuB8R8eYAe1IjfhsKAyLEoB6H1XKM3JqFcdtN/OCkDG8K1h5lLBYip9kLQDHYghXt0gCRHdFrqKNI9qVpp8hP3pSgu6jiO7v7UjUvbbN8tmb0P/X3EjIAJkTToN7cnPrQG16YIKmB/aoVmblM5ChJQY99d2x/qO/Q/7FTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727449157; c=relaxed/simple; bh=gkoei6OgN54yVCf+cyyAM/zfmvw774bSPn9IHPWu3Ts=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T00/JbR6ai6Zuwn+cwSonb+d6n1c91sP7UrZkrENs8QeXh0iOzMR0Opig2bSeprswGDi7zkiFr9/80vigUhtRj7QDSJrVWTjMt0+YOx3t+i/ueSYHvGX5IDMlWawAsAnKQWE4bwWGiteiYhUK7RiEm2W+vaxBBjaj+U0ldjfeqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=I3oYqpsW; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="I3oYqpsW" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-37cc5fb1e45so1526071f8f.2 for ; Fri, 27 Sep 2024 07:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727449154; x=1728053954; 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=Rvr+aAeqYc0TS+uRT5fh8X+vEgn01CkzNarTSi6yaX0=; b=I3oYqpsW+090vvxIH8aUfP2CWC/OZ+4dbrYqlrkNsY3HVY+BHgCvbaJklWrlAGsFRn Muzbn+W3dHnTqh7k/tArZ0sJSQgvPIsf0+CvT4rdhBtkBlPgQ+u0QCXRXZviQsqaFmUG noRgbspMpN+iyTIhGRhjbfpZOM3DumvsCRMVB7J42NS9YnF0wMmMwVpxzhH8JsRic9Na +4JLQIBKxWcdEwZr0T6NYxavCX1mw5ccMy0KHftxZVpQiyVkarDqaXCDgdQMNcTBxsnb 5fzED3lEYVGooXY9lDIBEK4xJ43z+axN18F1tnJCInXeLHfdkEmsn4E0zXYwss6k2ZQU RNcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727449154; x=1728053954; 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=Rvr+aAeqYc0TS+uRT5fh8X+vEgn01CkzNarTSi6yaX0=; b=G4x4CFuBPSAzEE2Jz0mhyj2HGdDYpkwRV63E9TiWV6ljFCRVf9Hvslq2BwYbkarV1C USC85387P7dmgTEJx4KcRLXpmL6A5SFgL5EKEVOiY+XId6zF9rK1XpIM2CR+grIFr7+t XQzBuCvQ2ix9JpCM+v8udJUpGGLX/0hMjJNbHxbMOKBXzRmROeZ2YUEhcpl9Ux8xbI+v OpyjJYxS/4lE7KS10Eq/Oya1Eu+yVZjud2xJAEC1Munjwu4EaLmrmAqqDsh8WXQU33Qt jB0Gmc6vLwAd91eBUXnlE0L+Z7dF82woeqRpnd5Pt/H+lWedxz3DrdUayDkbKIKJEGvF h//g== X-Forwarded-Encrypted: i=1; AJvYcCXGRDnNbfabxYsjDFtY93qvqrxBl8WGAsQPhD1mKY66ZbpVgv5ugfT6JSB4QI5UmN6zWdoJjXUno5g8fh8=@vger.kernel.org X-Gm-Message-State: AOJu0YzWRthBOkO+MyAANuxqFmrHce0UFyJX6bpThQdtLkaj1lDZtRIW 7UNugPJl/Fw4jxs3lHjjBW1XnLELmUtrmkRaGZq1PO7fH3oFPMR9 X-Google-Smtp-Source: AGHT+IG9q2laExEP0nsChGhvAMrYqjDALDI9tG5cQ+2Watn0OQHwMhGGs32p7wB6IkqKrPQQjaahxw== X-Received: by 2002:adf:e589:0:b0:371:8e0d:b0fc with SMTP id ffacd0b85a97d-37cd5aec227mr2291360f8f.35.1727449153857; Fri, 27 Sep 2024 07:59:13 -0700 (PDT) Received: from WTFRLVSE288987LL.home ([2a01:cb15:8444:4a00:ec33:69ba:5260:d1ae]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37cd57424cesm2668397f8f.91.2024.09.27.07.59.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2024 07:59:13 -0700 (PDT) From: pascal.eberhard@gmail.com To: Richard Weinberger Cc: miquel.raynal@bootlin.com, Pascal Eberhard , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH RESEND] ubifs: xattr: remove unused anonymous enum Date: Fri, 27 Sep 2024 16:57:56 +0200 Message-ID: <20240927145757.347630-1-pascal.eberhard@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Pascal Eberhard commit 2b88fc21cae9 ("ubifs: Switch to generic xattr handlers") removes usage of this anonymous enum. Delete the enum as well. Signed-off-by: Pascal Eberhard --- fs/ubifs/xattr.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c index 3db8486e3725..32927bf98306 100644 --- a/fs/ubifs/xattr.c +++ b/fs/ubifs/xattr.c @@ -48,19 +48,6 @@ #include #include -/* - * Extended attribute type constants. - * - * USER_XATTR: user extended attribute ("user.*") - * TRUSTED_XATTR: trusted extended attribute ("trusted.*) - * SECURITY_XATTR: security extended attribute ("security.*") - */ -enum { - USER_XATTR, - TRUSTED_XATTR, - SECURITY_XATTR, -}; - static const struct inode_operations empty_iops; static const struct file_operations empty_fops; -- 2.43.0