Fix style in the last commit, the variable declaration goes at the top of the

function.
This commit is contained in:
thompsa 2006-08-02 02:51:42 +00:00
parent 1b5eb404f1
commit 506dd25cdf

View File

@ -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);