]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb44ca8e2230d4ddb0d1a75301eff5d4822763ce
tree59100786c470913a755294aabc6f42e02c72778f
parentc957535a42815f3d1c4207f63458f629ea93cb5d
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