Re: [RFC 2/8] cxgb4: setup pcie memory window 4 and create p2pmem region

Logan Gunthorpe
2017-04-04T15:56:48Z

On 04/04/17 04:42 AM, Sagi Grimberg wrote:
> This is weird, why even call this if !use_p2pmem?

I personally find it cleaner than:

if (use_p2pmem)
setup_memwin_p2pmem(...)

I'm not sure why that's so weird.

Logan