History

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/20200703073143.423557-1-danny@kdrag0n.dev/

Masahiro Yamada committed 5 years ago

Commit fa60ce21 parent 7497835157 files · +110 −627Browse files

Showing the changes to include/uapi (2 of 157 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/if_bonding.h +0 −11
  2. include/uapi/linux/nfs4.h +0 −6
include/uapi/linux/if_bonding.h+0−11
@@ -153,14 +153,3 @@ enum { · 152 unmodified lines
153153 #define BOND_3AD_STAT_MAX (__BOND_3AD_STAT_MAX - 1)
154154
155155 #endif /* _LINUX_IF_BONDING_H */
156−
157−/*
158− * Local variables:
159− * version-control: t
160− * kept-new-versions: 5
161− * c-indent-level: 8
162− * c-basic-offset: 8
163− * tab-width: 8
164− * End:
165− */
166−
include/uapi/linux/nfs4.h+0−6
@@ -178,9 +178,3 @@ · 177 unmodified lines
178178 #define NFS4_MAX_BACK_CHANNEL_OPS 2
179179
180180 #endif /* _UAPI_LINUX_NFS4_H */
181−
182−/*
183− * Local variables:
184− * c-basic-offset: 8
185− * End:
186− */