diff options
| author | Masahiro Yamada <[email protected]> | 2021-05-07 01:06:44 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-07 07:26:34 +0000 |
| commit | fa60ce2cb4506701c43bd4cf3ca23d970daf1b9c (patch) | |
| tree | 317b3636a5c0fbafb0c1c88cdd59fcf8c408fffa /samples/configfs/configfs_sample.c | |
| parent | ipc/sem.c: spelling fix (diff) | |
| download | kernel-fa60ce2cb4506701c43bd4cf3ca23d970daf1b9c.tar.gz kernel-fa60ce2cb4506701c43bd4cf3ca23d970daf1b9c.zip | |
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/checkpatch.pl 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] https://lore.kernel.org/lkml/[email protected]/
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Miguel Ojeda <[email protected]> [auxdisplay]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'samples/configfs/configfs_sample.c')
| -rw-r--r-- | samples/configfs/configfs_sample.c | 2 |
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 |
