From: Jean Sacren <saki...@gmail.com>
Date: Sat,  1 Mar 2014 15:54:36 -0700

> The commit 9b2777d6089bc ("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 <saki...@gmail.com>

Applied, thank you.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to