]> git.baikalelectronics.ru Git - kernel.git/commit
at86rf230: remove multiple dereferencing for ctx
authorAlexander Aring <alex.aring@gmail.com>
Sun, 1 Mar 2015 20:55:32 +0000 (21:55 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 3 Mar 2015 01:15:25 +0000 (02:15 +0100)
commit36008671c8c0a0ab715e18f051f1627d941c73bb
tree9121d3fe566b5116b514a436f408a0bd61fa36fc
parent3f730f08cc990fa765ceee988c774a5c1a744747
at86rf230: remove multiple dereferencing for ctx

This patch cleanups the referencing for the state change context
variable. The state change context should only set once and this is by
initial a state change. This patch will use the initial state change
variable in the complete handler of the state change by using the ctx
context which should be always the same like the initial state change
context.

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