Re: [PATCH rdma-next 1/6] IB/core: Save the device attributes on the device structure

Sagi Grimberg
2015-12-17T13:44:19Z

> + ret = ib_query_device(device, &device->attrs);
> + if (ret) {
> + printk(KERN_WARNING "Couldn't query the device attributes\n");
> + goto out;
> + }
> +

I thought we're all for removing the call altogether aren't we?

I'd say just call device->query_device() instead.