]> 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)
commit1a5cd204ebd93c22e99e5ce9abd8ef8040c3df41
tree9121d3fe566b5116b514a436f408a0bd61fa36fc
parentc684e8ab73a29c89c23c58b3061a300715d910aa
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