Tag: 157a5fe90ab92989c59b0494a51258e2dacf92f9

[media] dib7000m: Remove unnecessary null test

Author: Himangi Saraogi <himangi774@gmail.com> This patch removes the null test on ch. ch is initialized at the beginning of the function to &demod->dtv_property_cache. Since demod is dereferenced prior to the null test, demod must be a valid pointer, and &demod->dtv_property_cache cannot be null. The following Coccinelle script is used for detecting the change: @r@ expression …

Continue reading