Powered by Linux
[RFC PATCH 2/7] smdb.py: remove undocumented test command — Semantic Matching Tool

[RFC PATCH 2/7] smdb.py: remove undocumented test command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The 'test' command, which has the same functionality as the call_info
command, is undocumented and isn't used, let's remove this.

Signed-off-by: Andrew Murray <andrew.murray@xxxxxxx>
---
 smatch_data/db/smdb.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/smatch_data/db/smdb.py b/smatch_data/db/smdb.py
index 9025a95070b5..80c2df59af01 100755
--- a/smatch_data/db/smdb.py
+++ b/smatch_data/db/smdb.py
@@ -677,9 +677,5 @@ elif sys.argv[1] == "constraint":
         struct_type = sys.argv[2]
         member = sys.argv[3]
     constraint(struct_type, member)
-elif sys.argv[1] == "test":
-    filename = sys.argv[2]
-    func = sys.argv[3]
-    caller_info_values(filename, func)
 else:
     usage()
-- 
2.21.0




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux