Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp: amd64_edac: Fix driver module removal
This commit is contained in:
@@ -339,6 +339,9 @@ static void edac_mc_workq_teardown(struct mem_ctl_info *mci)
|
|||||||
{
|
{
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
|
if (mci->op_state != OP_RUNNING_POLL)
|
||||||
|
return;
|
||||||
|
|
||||||
status = cancel_delayed_work(&mci->work);
|
status = cancel_delayed_work(&mci->work);
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
debugf0("%s() not canceled, flush the queue\n",
|
debugf0("%s() not canceled, flush the queue\n",
|
||||||
|
Reference in New Issue
Block a user