EDAC: Make edac_device workqueue setup/teardown functions static
They're not used anywhere else. Signed-off-by: Borislav Petkov <bp@suse.de>
This commit is contained in:
@@ -402,7 +402,7 @@ static void edac_device_workq_function(struct work_struct *work_req)
|
|||||||
* initialize a workq item for this edac_device instance
|
* initialize a workq item for this edac_device instance
|
||||||
* passing in the new delay period in msec
|
* passing in the new delay period in msec
|
||||||
*/
|
*/
|
||||||
void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev,
|
static void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev,
|
||||||
unsigned msec)
|
unsigned msec)
|
||||||
{
|
{
|
||||||
edac_dbg(0, "\n");
|
edac_dbg(0, "\n");
|
||||||
@@ -433,7 +433,7 @@ void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev,
|
|||||||
* edac_device_workq_teardown
|
* edac_device_workq_teardown
|
||||||
* stop the workq processing on this edac_dev
|
* stop the workq processing on this edac_dev
|
||||||
*/
|
*/
|
||||||
void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev)
|
static void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev)
|
||||||
{
|
{
|
||||||
if (!edac_dev->edac_check)
|
if (!edac_dev->edac_check)
|
||||||
return;
|
return;
|
||||||
|
@@ -48,9 +48,6 @@ extern void edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev);
|
|||||||
|
|
||||||
/* edac core workqueue: single CPU mode */
|
/* edac core workqueue: single CPU mode */
|
||||||
extern struct workqueue_struct *edac_workqueue;
|
extern struct workqueue_struct *edac_workqueue;
|
||||||
extern void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev,
|
|
||||||
unsigned msec);
|
|
||||||
extern void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev);
|
|
||||||
extern void edac_device_reset_delay_period(struct edac_device_ctl_info
|
extern void edac_device_reset_delay_period(struct edac_device_ctl_info
|
||||||
*edac_dev, unsigned long value);
|
*edac_dev, unsigned long value);
|
||||||
extern void edac_mc_reset_delay_period(unsigned long value);
|
extern void edac_mc_reset_delay_period(unsigned long value);
|
||||||
|
Reference in New Issue
Block a user