diff options
Diffstat (limited to 'src/gen.c')
-rw-r--r-- | src/gen.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -203,9 +203,6 @@ EXPORT_SYMBOL(nftnl_gen_snprintf); static int nftnl_gen_do_snprintf(char *buf, size_t size, const void *gen, uint32_t cmd, uint32_t type, uint32_t flags) { - if (size) - buf = '\0'; - return nftnl_gen_snprintf(buf, size, gen, type, flags); } |