]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac802154: iface: cleanup stack variable
authorAlexander Aring <alex.aring@gmail.com>
Wed, 17 Jun 2015 13:35:18 +0000 (15:35 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 17 Jun 2015 14:00:40 +0000 (16:00 +0200)
commit5c698e8bbfaa6e26d851eeeeee09d61dfc9ff4a0
tree36bca8468b9a42fc473363ff5c498be214ce4bc6
parent95c0aa15711e1e5fd62300a8abd244186ebf67e7
mac802154: iface: cleanup stack variable

There is no need to init res with zero, res can be unused but then we
returning zero and not res.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/iface.c