g_gate: for pointers replace 0 with NULL.
These are mostly cosmetical, no functional change. Found with devel/coccinelle.
This commit is contained in:
parent
b85f65af68
commit
01b5c6f73e
@ -945,7 +945,7 @@ g_gate_modevent(module_t mod, int type, void *data)
|
||||
}
|
||||
mtx_unlock(&g_gate_units_lock);
|
||||
mtx_destroy(&g_gate_units_lock);
|
||||
if (status_dev != 0)
|
||||
if (status_dev != NULL)
|
||||
destroy_dev(status_dev);
|
||||
free(g_gate_units, M_GATE);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user