rust: list: remove nonexistent generic parameter in link
authorMiguel Ojeda <ojeda@kernel.org>
Sat, 19 Jul 2025 23:25:00 +0000 (01:25 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 20 Jul 2025 17:29:19 +0000 (19:29 +0200)
commit275ad5e7931160aca2ea7657f7be7ef3493dea79
tree694d7bd788cb0908412bdba42441a84bfb3186a9
parentcc84ef3b88f407e8bd5a5f7b6906d1e69851c856
rust: list: remove nonexistent generic parameter in link

`ListLinks` does not take a `T` generic parameter, unlike
`ListLinksSelfPtr`.

Thus fix it, which makes it also consistent with the rest of the links
in the file.

Fixes: 40c53294596b ("rust: list: add macro for implementing ListItem")
Reviewed-by: Tamir Duberstein <tamird@gmail.com>
Link: https://lore.kernel.org/r/20250719232500.822313-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/list/impl_list_item_mod.rs