aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/refcount.c
diff options
context:
space:
mode:
authorTamir Duberstein <[email protected]>2024-10-09 12:25:30 -0400
committerMiguel Ojeda <[email protected]>2024-10-21 17:35:59 +0200
commitd4d7c05f9656fd8e14c6977a54986264eb296ec8 (patch)
tree41a30f27d90c6610a565d4153686fbe93b2c280b /rust/helpers/refcount.c
parent54c5dc52143e5b335b698f4e8810efa1f00787bf (diff)
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 <[email protected]> Reviewed-by: Gary Guo <[email protected]> Reviewed-by: Andreas Hindborg <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Reworded title. - Miguel ] Signed-off-by: Miguel Ojeda <[email protected]>
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)