From: Sergio Miguéns Iglesias Date: Mon, 2 Dec 2024 08:59:05 +0000 (+0100) Subject: xen: pcpu: remove unnecessary __ref annotation X-Git-Tag: v6.14-rc1~45^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f839f532c9b0f6195ac75164afab6ae15cc09091;p=thirdparty%2Fkernel%2Flinux.git xen: pcpu: remove unnecessary __ref annotation The __ref annotation has been there since many years now, but the reason why it has been added has been removed from the code long ago. [jgross: clarify commit message] Cc: Juergen Gross Cc: Stefano Stabellini Cc: Oleksandr Tyshchenko Cc: xen-devel@lists.xenproject.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Sergio Miguéns Iglesias Reviewed-by: Juergen Gross Message-ID: <20241202085910.5539-1-sergio@lony.xyz> Signed-off-by: Juergen Gross --- diff --git a/drivers/xen/pcpu.c b/drivers/xen/pcpu.c index c63f317e3df3d..093ad4a08672c 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) {