Bluetooth: Remove unnecessary variable initialization
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 20 Apr 2009 05:09:16 +0000 (07:09 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Jun 2009 12:50:00 +0000 (14:50 +0200)
commit44d0e48e8a1fa174edf11e03dc70bd6a146b2a40
tree1a783f77790a314e3d6cd3608deb57140d113357
parent589d27464846c7cb758f93d9ee380c8ff05a161c
Bluetooth: Remove unnecessary variable initialization

The initial value of err is not used until it is set to -ENOMEM. So just
remove the initialization completely.

Based on a patch from Gustavo F. Padovan <gustavo@las.ic.unicamp.br>

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c