[PATCH 06/10] .gitignore: move *-asn1.[ch] patterns to the top-level .gitignore

From: Masahiro Yamada
Date: Fri Mar 23 2018 - 09:08:06 EST


These are common patterns where source files are parsed by the
asn1_compiler.

Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
---

.gitignore | 5 +----
crypto/.gitignore | 1 -
crypto/asymmetric_keys/.gitignore | 1 -
drivers/crypto/qat/qat_common/.gitignore | 1 -
4 files changed, 1 insertion(+), 7 deletions(-)
delete mode 100644 crypto/.gitignore
delete mode 100644 crypto/asymmetric_keys/.gitignore
delete mode 100644 drivers/crypto/qat/qat_common/.gitignore

diff --git a/.gitignore b/.gitignore
index 1e82be1..a7fef34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,7 @@
#
.*
*.a
+*-asn1.[ch]
*.bin
*.bz2
*.c.[012]*.*
@@ -130,7 +131,3 @@ all.config

# Kdevelop4
*.kdev4
-
-#Automatically generated by ASN.1 compiler
-net/ipv4/netfilter/nf_nat_snmp_basic-asn1.c
-net/ipv4/netfilter/nf_nat_snmp_basic-asn1.h
diff --git a/crypto/.gitignore b/crypto/.gitignore
deleted file mode 100644
index ee328374..0000000
--- a/crypto/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*-asn1.[ch]
diff --git a/crypto/asymmetric_keys/.gitignore b/crypto/asymmetric_keys/.gitignore
deleted file mode 100644
index ee328374..0000000
--- a/crypto/asymmetric_keys/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*-asn1.[ch]
diff --git a/drivers/crypto/qat/qat_common/.gitignore b/drivers/crypto/qat/qat_common/.gitignore
deleted file mode 100644
index ee328374..0000000
--- a/drivers/crypto/qat/qat_common/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*-asn1.[ch]
--
2.7.4