int
i2c_dp_aux_add_bus(struct i2c_adapter *adapter)
{
        int error;
        
        error = i2c_dp_aux_prepare_bus(adapter);
        if (error)
                return error;
        error = i2c_add_adapter(adapter);
        return error;
}


@@
identifier f;
type T;
identifer e;
@@
T f(...){<...
-e = i2c_add_adapter(...);
...>}


What am I missing here ... I want to remove the call to i2c_add_adapter.

ron
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to