[PATCH 4.15 007/163] IB/core: Avoid a potential OOPs for an unused optional parameter