Skip to content

Commit 68573c1

Browse files
jbeulichjgross1
authored andcommitted
swiotlb-xen: drop leftover __ref
Commit a98f565 ("xen-swiotlb: split xen_swiotlb_init") should not only have added __init to the split off function, but also should have dropped __ref from the one left. Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/7cd163e1-fe13-270b-384c-2708e8273d34@suse.com Signed-off-by: Juergen Gross <jgross@suse.com>
1 parent cabb7f8 commit 68573c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/xen/swiotlb-xen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static const char *xen_swiotlb_error(enum xen_swiotlb_err err)
154154

155155
#define DEFAULT_NSLABS ALIGN(SZ_64M >> IO_TLB_SHIFT, IO_TLB_SEGSIZE)
156156

157-
int __ref xen_swiotlb_init(void)
157+
int xen_swiotlb_init(void)
158158
{
159159
enum xen_swiotlb_err m_ret = XEN_SWIOTLB_UNKNOWN;
160160
unsigned long bytes = swiotlb_size_or_default();

0 commit comments

Comments
 (0)