]> git.karo-electronics.de Git - linux-beck.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>
Wed, 9 May 2012 04:40:32 +0000 (01:40 -0300)
commit088ce088ec115ee4bc89549b07b182e65dce9235
tree6646c55d741c01611914e6eb939b590a41cbd511
parentabc5de8f4e68ea785e32b91e456f467d2a2fb7db
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