Module Name: src Committed By: maxv Date: Fri Sep 20 11:09:43 UTC 2019
Modified Files: src/sys/uvm: uvm_page.c uvm_physseg.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.199 -r1.200 src/sys/uvm/uvm_page.c cvs rdiff -u -r1.9 -r1.10 src/sys/uvm/uvm_physseg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.