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/
Showing the changes to include/uapi (2 of 157 files). Show all
Unified · Split
| @@ -153,14 +153,3 @@ enum { · 152 unmodified lines | ||
| 153 | 153 | #define BOND_3AD_STAT_MAX (__BOND_3AD_STAT_MAX - 1) |
| 154 | 154 | |
| 155 | 155 | #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 | − | |
| @@ -178,9 +178,3 @@ · 177 unmodified lines | ||
| 178 | 178 | #define NFS4_MAX_BACK_CHANNEL_OPS 2 |
| 179 | 179 | |
| 180 | 180 | #endif /* _UAPI_LINUX_NFS4_H */ |
| 181 | − | |
| 182 | −/* | |
| 183 | − * Local variables: | |
| 184 | − * c-basic-offset: 8 | |
| 185 | − * End: | |
| 186 | − */ | |