]> git.baikalelectronics.ru Git - kernel.git/commit
at86rf230: remove unnecessary state read
authorAlexander Aring <alex.aring@gmail.com>
Thu, 24 Apr 2014 17:09:17 +0000 (19:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Apr 2014 16:20:34 +0000 (12:20 -0400)
commit1939cdc3f5291de9193a5a818883e70973c92848
tree3ef70706a80833a8a1761898d3560bc70b8a4e43
parent13c84579140549b53301e4372ca2f986735401c2
at86rf230: remove unnecessary state read

This patch removes a unnecessary state read. The status value is never
evaluate after reading the state.

Also rename the status variable to dvdd, because this variable will be
used later.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c