Tag: b0fd0d235df2b3cf8e5e244e301614092a9c317c

drivers/net/au1000_eth.c: Remove redundant test

Author: Julia Lawall <julia@diku.dk> phydev is checked to be not NULL a few lines above. 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 || …) { … when forall return …; } … …

Continue reading