From: Yuval Mintz Date: Mon, 12 Mar 2012 08:53:08 +0000 (+0000) Subject: bnx2x: removed unused function bnx2x_queue_set_cos_cid X-Git-Tag: v2.6.39-400.9.0~338^2~108 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=aaa33d4ee6c91a7d3e7961fab89e1792797116fb;p=users%2Fjedix%2Flinux-maple.git bnx2x: removed unused function bnx2x_queue_set_cos_cid (cherry picked from commit c121089d9769a404468749b31c52c4d284cb56be) Signed-off-by: Yuval Mintz Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller Signed-off-by: Joe Jin --- diff --git a/drivers/net/bnx2x/bnx2x_sp.c b/drivers/net/bnx2x/bnx2x_sp.c index 4ce8d36242c6..487a2b7652d4 100644 --- a/drivers/net/bnx2x/bnx2x_sp.c +++ b/drivers/net/bnx2x/bnx2x_sp.c @@ -5182,13 +5182,6 @@ void bnx2x_init_queue_obj(struct bnx2x *bp, obj->set_pending = bnx2x_queue_set_pending; } -void bnx2x_queue_set_cos_cid(struct bnx2x *bp, - struct bnx2x_queue_sp_obj *obj, - u32 cid, u8 index) -{ - obj->cids[index] = cid; -} - /********************** Function state object *********************************/ enum bnx2x_func_state bnx2x_func_get_state(struct bnx2x *bp, struct bnx2x_func_sp_obj *o)