Deletion of checks before specific function calls in Linux source files
A couple of functions performs input parameter validation before their implementations will try further actions with side effects. Some calling functions perform similar safety checks.
Functions which release a system resource are occasionally documented in the way that they tolerate the passing of a null pointer for example.
There is mostly no need because of this fact that a function caller repeats a corresponding check.
Semantic patch patterns can help to identify update candidates also in Linux source files.