]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Remove unnecessary check
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Wed, 11 Apr 2012 06:48:48 +0000 (08:48 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Fri, 13 Apr 2012 22:01:07 +0000 (19:01 -0300)
commit35e612c5719fe0c6785340fdf0903f9993fa9535
treef8d6d2117977ff270c99a8d69ac057454e6f9141
parentba5041c40f9035b3ce55756ede9de941018d3b9e
Bluetooth: Remove unnecessary check

The function already fails if the given size is greater than the MTU, so
there is no need to consider that case afterwards.

Signed-off-by: Mikel Astiz <mikel.astiz.oss@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/sco.c