Tag: 72c71f4827d1f724e8d44677367ed8e924e69de9

Staging: slicoss: remove duplicate structure field initialization

Author: Julia Lawall <julia@diku.dk> The definition of slic_netdev_ops has initializations of a local function and eth_mac_addr for its ndo_set_mac_address field. 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 =@p0 { … …

Continue reading