summaryrefslogtreecommitdiffstats
path: root/rust/helpers/refcount.c
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2024-10-09 18:25:30 +0200
committerMiguel Ojeda <ojeda@kernel.org>2024-10-21 17:35:59 +0200
commitd4d7c05f9656fd8e14c6977a54986264eb296ec8 (patch)
tree41a30f27d90c6610a565d4153686fbe93b2c280b /rust/helpers/refcount.c
parentrust: exports: improve grammar in commentary (diff)
downloadlinux-d4d7c05f9656fd8e14c6977a54986264eb296ec8.tar.xz
linux-d4d7c05f9656fd8e14c6977a54986264eb296ec8.zip
rust: helpers: remove unnecessary header includes
Commit e26fa546042a ("rust: kbuild: auto generate helper exports") removed the need for these by automatically generating the exports; it removed the explicit uses of `EXPORT_SYMBOL_GPL` but didn't remove the `#include <linux/export.h>`s. Signed-off-by: Tamir Duberstein <tamird@gmail.com> Reviewed-by: Gary Guo <gary@garyguo.net> Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org> Link: https://lore.kernel.org/r/20241009162553.27845-2-tamird@gmail.com [ Reworded title. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/helpers/refcount.c')
-rw-r--r--rust/helpers/refcount.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rust/helpers/refcount.c b/rust/helpers/refcount.c
index f47afc148ec3..d6adbd2e45a1 100644
--- a/rust/helpers/refcount.c
+++ b/rust/helpers/refcount.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
-#include <linux/export.h>
#include <linux/refcount.h>
refcount_t rust_helper_REFCOUNT_INIT(int n)