It is possible to remove the forward declaration of l2cap_alloc_buf as the recv pointer can be compared directly with chan pointer avoiding using l2cap_ops directly. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>