Skip to content

Commit

Permalink
Remove kernel_fpu_begin() added by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
kingluo committed Jul 14, 2024
1 parent b73a31a commit 09bd329
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fw/apm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1018,8 +1018,6 @@ tfw_apm_prcntl_tmfn(struct timer_list *t)
TfwApmRBuf *rbuf = &data->rbuf;
TfwApmRBEnt *rbent = rbuf->rbent;

kernel_fpu_begin();

/*
* Increment the counter and make the updates use the other array
* of the two that are available. In the meanwhile, use the array
Expand Down Expand Up @@ -1059,8 +1057,6 @@ tfw_apm_hm_timer_cb(struct timer_list *t)
TfwApmHM *hm = READ_ONCE(hmctl->hm);
unsigned long now;

kernel_fpu_begin();

BUG_ON(!hm);
if (!atomic64_read(&hmctl->rcount))
tfw_http_hm_srv_send(srv, hm->req, hm->reqsz);
Expand Down

0 comments on commit 09bd329

Please sign in to comment.