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