EDAC: Cleanup/sync workqueue functions
authorBorislav Petkov <bp@suse.de>
Tue, 2 Feb 2016 10:36:11 +0000 (11:36 +0100)
committerBorislav Petkov <bp@suse.de>
Tue, 2 Feb 2016 10:38:50 +0000 (11:38 +0100)
commit06e912d4d4c2624c169997e26b3d7b5746735a14
tree4bcc7c6e2eb0ea1bccf6d2bc85bb569e97791578
parent626a7a4dba2ad672b66b675f961de214f0ad0c74
EDAC: Cleanup/sync workqueue functions

They're both running only when ->edac_check is initialized so remove
that check from the workqueue function itself. Synchronize/generalize
the ->op_state check between the two.

Kill useless comments, while at it.

Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/edac_mc.c
drivers/edac/edac_pci.c