IB/rdmavt: Macroize override checks during driver registration
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Wed, 6 Jan 2016 17:52:40 +0000 (09:52 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:05 +0000 (20:37 -0500)
commit4997870a0935b923d2ba67293fca0b8c05f74c1e
treed82ebc47dad071c314e28d0f68912b248fdd17f0
parentb1070a7a4d304e680eb6c1158d76645cf5a923f1
IB/rdmavt: Macroize override checks during driver registration

Add a macro to cut down on writing the same lines over and over again for
what will be a large number of functions that will be supported.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/vt.c