[PATCH 10/50] staging: most: core: remove function get_channel_by_iface

2017-11-21 Thread Christian Gromm
This patch removes the function get_channel_by_iface that walks a list of all registered interfaces and returns a pointer to a channel when matched. Instead the private field of the interface structure is used to directly access the channel via the id. The patch is needed to remove unnecessary list

Re: [PATCH 10/50] staging: most: core: remove function get_channel_by_iface

2017-11-22 Thread Frans Klaver
On Tue, Nov 21, 2017 at 3:04 PM, Christian Gromm wrote: > This patch removes the function get_channel_by_iface that walks a list of > all registered interfaces and returns a pointer to a channel when matched. > Instead the private field of the interface structure is used to directly > access the c