09/02/2022 20:17, Stephen Hemminger:
> While working on a new driver, noticed that some drivers always call
> free routines (correct) and others conditionally call free routines
> if not null (redundant check). The extra if(e != NULL) type check
> is unneeded and adds extra code. Better to have a
While working on a new driver, noticed that some drivers always call
free routines (correct) and others conditionally call free routines
if not null (redundant check). The extra if(e != NULL) type check
is unneeded and adds extra code. Better to have all the code
consistent.
The Linux kernel has
2 matches
Mail list logo