path: root/samples
diff options
authorMasahiro Yamada <>2021-05-06 18:06:44 -0700
committerLinus Torvalds <>2021-05-07 00:26:34 -0700
commitfa60ce2cb4506701c43bd4cf3ca23d970daf1b9c (patch)
tree317b3636a5c0fbafb0c1c88cdd59fcf8c408fffa /samples
parent7497835f7e8dae01c4850ce7204f6a8a7f58f2e5 (diff)
treewide: remove editor modelines and cruft
The section "19) Editor modelines and other cruft" in Documentation/process/coding-style.rst clearly says, "Do not include any of these in source files." I recently receive a patch to explicitly add a new one. Let's do treewide cleanups, otherwise some people follow the existing code and attempt to upstream their favoriate editor setups. It is even nicer if scripts/ can check it. If we like to impose coding style in an editor-independent manner, I think editorconfig (patch [1]) is a saner solution. [1] Link: Signed-off-by: Masahiro Yamada <> Acked-by: Geert Uytterhoeven <> Reviewed-by: Miguel Ojeda <> [auxdisplay] Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'samples')
1 files changed, 0 insertions, 2 deletions
diff --git a/samples/configfs/configfs_sample.c b/samples/configfs/configfs_sample.c
index f9008be7a8a1..37a657b25d58 100644
--- a/samples/configfs/configfs_sample.c
+++ b/samples/configfs/configfs_sample.c
@@ -1,7 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
- * vim: noexpandtab ts=8 sts=0 sw=8:
- *
* configfs_example_macros.c - This file is a demonstration module
* containing a number of configfs subsystems. It uses the helper
* macros defined by configfs.h