[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241202085910.5539-1-sergio@lony.xyz>
Date: Mon, 2 Dec 2024 09:59:05 +0100
From: Sergio Miguéns Iglesias <sergio@...y.xyz>
To: archjgross@...e.com
Cc: sstabellini@...nel.org,
oleksandr_tyshchenko@...m.com,
xen-devel@...ts.xenproject.org,
linux-kernel@...r.kernel.org,
Sergio Miguéns Iglesias <sergio@...y.xyz>,
Juergen Gross <jgross@...e.com>
Subject: [PATCH] xen: pcpu: remove unnecessary __ref annotation
The __ref annotation has been there since the beginning of time, but no
calls to __init functions exist inside it, and the compilation of the
Xen driver does not output any warnings when removed.
Cc: Juergen Gross <jgross@...e.com>
Cc: Stefano Stabellini <sstabellini@...nel.org>
Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@...m.com>
Cc: xen-devel@...ts.xenproject.org
Cc: linux-kernel@...r.kernel.org
Signed-off-by: Sergio Miguéns Iglesias <sergio@...y.xyz>
---
drivers/xen/pcpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/xen/pcpu.c b/drivers/xen/pcpu.c
index c63f317e3df3..093ad4a08672 100644
--- a/drivers/xen/pcpu.c
+++ b/drivers/xen/pcpu.c
@@ -105,7 +105,7 @@ static ssize_t online_show(struct device *dev,
return sprintf(buf, "%u\n", !!(cpu->flags & XEN_PCPU_FLAGS_ONLINE));
}
-static ssize_t __ref online_store(struct device *dev,
+static ssize_t online_store(struct device *dev,
struct device_attribute *attr,
const char *buf, size_t count)
{
--
2.47.0
Powered by blists - more mailing lists