mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Fix style in the last commit, the variable declaration goes at the top of the
function.
This commit is contained in:
parent
6f2abce0b3
commit
516b37d308
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160900
@ -529,9 +529,10 @@ bstp_make_blocking(struct bstp_state *bs, struct bstp_port *bp)
|
||||
static void
|
||||
bstp_set_port_state(struct bstp_port *bp, uint8_t state)
|
||||
{
|
||||
bp->bp_state = state;
|
||||
struct bstp_state *bs = bp->bp_bs;
|
||||
|
||||
bp->bp_state = state;
|
||||
|
||||
/* notify the parent bridge */
|
||||
if (bs->bs_state_cb != NULL)
|
||||
taskqueue_enqueue(taskqueue_swi, &bp->bp_statetask);
|
||||
|
Loading…
Reference in New Issue
Block a user