Powered by Linux
[PATCH 2/5] check_kernel_printf.c: remove copy-pastoed variable — Semantic Matching Tool

[PATCH 2/5] check_kernel_printf.c: remove copy-pastoed variable

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

 



Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
---
 check_kernel_printf.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/check_kernel_printf.c b/check_kernel_printf.c
index 715e7b42..7bef7e7d 100644
--- a/check_kernel_printf.c
+++ b/check_kernel_printf.c
@@ -639,8 +639,6 @@ static void flag_string(const char *fmt, struct symbol *type, struct symbol *bas
 
 static void device_node_string(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
 {
-	static struct typedef_lookup gfp = { .name = "gfp_t" };
-
 	if (fmt[1] != 'F')
 		sm_msg("error: %%pO can only be followed by 'F'");
 }
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe smatch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux