Stephen Hemminger 27b360f1b5 devtools: add script to fix unnecessary null checks
This script is based on the idea of the nullfree script
in the Linux kernel. It finds cases where a check for null
pointer is done, but is unnecessary because the function
already handles NULL pointer.

Basic example:
       if (x->buf)
           rte_free(x->buf);
can be reduced to:
       rte_free(x->buf);

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2022-02-12 12:06:31 +01:00
..
2022-01-12 15:36:32 +01:00
2020-02-13 18:47:28 +01:00
2020-09-08 00:09:50 +02:00
2021-08-17 08:37:52 +02:00