Tag: 00185a60c37549531b9eee562d3eba19020875d5

USB: Remove redundant test in pxa27x_udc and ftdi_sio

Author: Julia Lawall <julia@diku.dk> priv is checked not to be NULL near the beginning of the function and not changed subsequently, making the test redundant. A simplified version of the semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // @r exists@ local idexpression x; expression E; position p1,p2; @@ if (x@p1 == NULL …

Continue reading