]> git.baikalelectronics.ru Git - kernel.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)
commit586d3ed8fe83704d5b743bc41723dcfe287434bc
tree6646c55d741c01611914e6eb939b590a41cbd511
parent30d9e25125b038a75f6b343fb2788489c7e077c5
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