Tag: 2ec4e84a5fabfb08b03644a9f89ba1d9bb7f34b1

[media] saa7164-dvb: Remove unnecessary null test

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

Continue reading