Bluetooth: 6lowpan: Remove unnecessary chan_get() function
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 6 Oct 2015 10:03:24 +0000 (13:03 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Oct 2015 08:43:52 +0000 (10:43 +0200)
commit26d46dffbe2cd0a023aa6192708f80cd796af107
tree59100786c470913a755294aabc6f42e02c72778f
parent0cd088fc97bbe4834e9bc9727012ecac49386849
Bluetooth: 6lowpan: Remove unnecessary chan_get() function

The chan_get() function just adds unnecessary indirection to calling
the chan_create() call. The only added value it gives is the chan->ops
assignment, but that can equally well be done in the calling code.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c