IB/core: Refactor GID cache's ib_dispatch_event
authorMatan Barak <matanb@mellanox.com>
Wed, 28 Oct 2015 14:52:39 +0000 (16:52 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 15:19:54 +0000 (10:19 -0500)
commitf3906bd36087dd3440ecaf6e044690374d01f927
treefb51c919126dcf12d6cb38340db7bc412ff60786
parent882f3b3b916a01c703bf7516800a0dca741cd3e7
IB/core: Refactor GID cache's ib_dispatch_event

Refactor ib_dispatch_event into a new function in order to avoid
duplicating code in the next patch.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cache.c