clang-format: Simplify command with `sort -u`
authorMiguel Ojeda <ojeda@kernel.org>
Fri, 20 May 2022 12:06:51 +0000 (14:06 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Fri, 20 May 2022 12:06:51 +0000 (14:06 +0200)
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
.clang-format

index 59f6a02..beb40ea 100644 (file)
@@ -67,7 +67,7 @@ ExperimentalAutoDetectBinPacking: false
 # Taken from:
 #   git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*(' include/ \
 #   | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$,  - '\1'," \
-#   | LC_ALL=C sort | uniq
+#   | LC_ALL=C sort -u
 ForEachMacros:
   - '__ata_qc_for_each'
   - '__bio_for_each_bvec'