libcxgb,iw_cxgb4,cxgbit: add cxgb_is_neg_adv()
authorVarun Prakash <varun@chelsio.com>
Tue, 13 Sep 2016 15:53:59 +0000 (21:23 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 00:49:19 +0000 (20:49 -0400)
commitb65eef0a5b1a635f9b056cf74d3ef778f3794a75
treed3aa3cd881f9079fd6b5c0a15462a608407e1c62
parent95554761d1db54f7c058cc0ed389282ce7361999
libcxgb,iw_cxgb4,cxgbit: add cxgb_is_neg_adv()

Add cxgb_is_neg_adv() in libcxgb_cm.h to remove
it's duplicate definitions from cxgb4/cm.c and
cxgbit/cxgbit_cm.c.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/cxgb4/cm.c
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
drivers/target/iscsi/cxgbit/cxgbit_cm.c