linux_dsm_epyc7002/drivers/net/ieee802154
Jean Sacren 677676cd58 ieee802154: fix at86rf212_set_txpower() exit path
The commit 9b2777d608 ("ieee802154: add TX power control to
wpan_phy") introduced the new function at86rf212_set_txpower() with
the questionable check of the return of __at86rf230_write() in the
exit path:

1) Both at86rf212_set_txpower() and __at86rf230_write() have the
   same return type.

2) Whatever __at86rf230_write() returns becomes the return value of
   at86rf212_set_txpower().

Thus, fix the exit path by getting rid of that check entirely.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Cc: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-03 15:40:35 -05:00
..
at86rf230.c ieee802154: fix at86rf212_set_txpower() exit path 2014-03-03 15:40:35 -05:00
fakehard.c IEEE 802.15.4: remove get_bsn from "struct ieee802154_mlme_ops" 2013-04-08 12:00:16 -04:00
fakelb.c ieee802154: remove __dev* attributes 2012-12-03 11:16:56 -08:00
Kconfig ieee802154: MRF24J40 driver 2012-09-04 14:43:55 -04:00
Makefile ieee802154: MRF24J40 driver 2012-09-04 14:43:55 -04:00
mrf24j40.c net: ieee802154: remove unnecessary spi_set_drvdata() 2013-12-10 22:31:32 -05:00