commit | 74a0b0a5ea6b48f8945e6e900e9c678866aa7520 | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@mellanox.com> | Sun Feb 14 17:07:47 2016 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Thu Mar 03 10:18:44 2016 -0500 |
tree | 1b2d57212e6fb54b13d9f42bc372704849a2cf05 | |
parent | bbdfcf18c3b54818d21bf67a3c31779a090887a0 [diff] |
IB/core: Avoid duplicate code Move the check on the validity of the command to a common area. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>