projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pci-v3.15-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[cascardo/linux.git]
/
drivers
/
edac
/
edac_device.c
diff --git
a/drivers/edac/edac_device.c
b/drivers/edac/edac_device.c
index
1026743
..
592af5f
100644
(file)
--- a/
drivers/edac/edac_device.c
+++ b/
drivers/edac/edac_device.c
@@
-437,6
+437,9
@@
void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev)
{
int status;
+ if (!edac_dev->edac_check)
+ return;
+
status = cancel_delayed_work(&edac_dev->work);
if (status == 0) {
/* workq instance might be running, wait for it */