NetBSD/src jHNCWNa — sys/uvm uvm_page.c uvm_physseg.c
Fix programming mistake: 'paddrp' is a pointer given as argument, setting it to NULL in the called function does not set it to NULL in the caller. Actually, the callers of these functions do not do anything with the special error handling, so drop the unused checks and the NULL assignments altogether. Found by the lgtm bot.
Version | Delta | File | |
---|---|---|---|
1.200 | +4 | -10 | sys/uvm/uvm_page.c |
1.10 | +1 | -5 | sys/uvm/uvm_physseg.c |
+5 | -15 | 2 files |