mac802154: llsec: fold useless return value check
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Tue, 20 May 2014 11:14:23 +0000 (13:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2014 19:24:13 +0000 (15:24 -0400)
commit62e9c117eec56a3c9611613a3aa90c9671244d33
tree102a05e3d4e325e8551a342c6a8b587571d29adf
parent6f3eabcd041aa062cfabd2fc62194a33b507f51c
mac802154: llsec: fold useless return value check

llsec_do_encrypt will never return a positive value, so the restriction
to 0-or-negative on return is useless.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac802154/llsec.c