Tag: 5ee2124524aa65cc48fcf0b498d4ef036d2c9ee5

drivers/net: remove duplicate structure field initialization

Author: Julia Lawall <julia@diku.dk> The definitions of vnet_ops and ehea_netdev_ops have initializations of a local function and eth_change_mtu for their respective ndo_change_mtu fields. This change uses only the local function. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ identifier I, s, fld; position p0,p; expression E; @@ struct I s …

Continue reading