IB/mad: Clean up rcv_has_same_class
authorIra Weiny <ira.weiny@intel.com>
Fri, 8 May 2015 18:27:23 +0000 (14:27 -0400)
committerDoug Ledford <dledford@redhat.com>
Wed, 20 May 2015 16:34:45 +0000 (12:34 -0400)
rcv_has_same_class only needs access to the MAD header
specify WR and Receive WC as const

Reviewed-By: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/mad.c

Simple merge