libcxgb,iw_cxgb4,cxgbit: add cxgb_compute_wscale()
authorVarun Prakash <varun@chelsio.com>
Tue, 13 Sep 2016 15:54:01 +0000 (21:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 00:49:20 +0000 (20:49 -0400)
commitcc516700c7edab4197d08998ac023c3043369391
tree7066c61e5639f393e5edf15e36d1c8712d78c1ea
parent44c6d06992ac663e5163bdbe00844cb845ed5703
libcxgb,iw_cxgb4,cxgbit: add cxgb_compute_wscale()

Add cxgb_compute_wscale() 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/infiniband/hw/cxgb4/iw_cxgb4.h
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
drivers/target/iscsi/cxgbit/cxgbit_cm.c