On Thu, May 28, 2015 at 08:15:42AM +0200, Jiri Pirko wrote: > Thu, May 28, 2015 at 05:23:17AM CEST, simon.hor...@netronome.com wrote: > >The rocker (switch) of a rocker_port may be trivially obtained from > >the latter it seems cleaner not to pass the former to a function when > >the latter is being passed anyway. > > I don't understand reason for this patch. I like it the way it is I must > say. + you introduce possible multiple dereference in a row in call-chain.
My main motivation is that it seems cleaner. I marked it as an RFC as I wasn't sure if there was a particular reason that thins are how they are. I have no objection to leaving things as they are if thats the consensus. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html