From 9ce285cfe3602d71485ac9582ebb8034e485a33c Mon Sep 17 00:00:00 2001
From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Fri, 23 Mar 2018 22:04:35 +0900
Subject: [PATCH] .gitignore: move *-asn1.[ch] patterns to the top-level
 .gitignore

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

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
 .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 1e82be162e6f8..a7fef349e3191 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 ee328374dba8f..0000000000000
--- 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 ee328374dba8f..0000000000000
--- 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 ee328374dba8f..0000000000000
--- a/drivers/crypto/qat/qat_common/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*-asn1.[ch]
-- 
GitLab