Re: [PATCH rdma-core 03/10] verbs: Split init_device into a match and alloc/bind step

Jason Gunthorpe
2017-09-28T15:56:22Z

On Tue, Sep 26, 2017 at 07:00:16PM +0300, Yishai Hadas wrote:

> >+/* A rdma device detected in sysfs */
> >+struct verbs_sysfs_dev {
> >+ struct list_node entry;
> >+ void *provider_data;
>
> It looks as this field isn't used in the series, correct ? if this is the
> case better add when it'll become applicable.

Ah, interesting. It is used during the series, but during the series
all the uses get removed and replaced with verbs_match_ent.driver_data
instead.

So it could be dropped at the patch that removes the last use.. I'll
look at that today.

Jason