staging: media: Remove unused function atomisp_set_stop_timeout()
The function atomisp_set_stop_timeout on being called, simply returns back. The function hasn't been mentioned in the TODO and doesn't have FIXME code around. Hence, atomisp_set_stop_timeout and its calls have been removed. This was done using Coccinelle. @@ identifier f; @@ void f(...) { -return; } Signed-off-by: simran singhal <singhalsimran0@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
68f9c65467
commit
cfd23945be
@ -1692,7 +1692,6 @@ void atomisp_wdt_work(struct work_struct *work)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
atomisp_set_stop_timeout(ATOMISP_CSS_STOP_TIMEOUT_US);
|
||||
dev_err(isp->dev, "timeout recovery handling done\n");
|
||||
atomic_set(&isp->wdt_work_queued, 0);
|
||||
|
||||
|
@ -660,7 +660,6 @@ int atomisp_css_set_acc_parameters(struct atomisp_acc_fw *acc_fw);
|
||||
int atomisp_css_isr_thread(struct atomisp_device *isp,
|
||||
bool *frame_done_found,
|
||||
bool *css_pipe_done);
|
||||
void atomisp_set_stop_timeout(unsigned int timeout);
|
||||
|
||||
bool atomisp_css_valid_sof(struct atomisp_device *isp);
|
||||
|
||||
|
@ -4699,11 +4699,6 @@ int atomisp_css_isr_thread(struct atomisp_device *isp,
|
||||
return 0;
|
||||
}
|
||||
|
||||
void atomisp_set_stop_timeout(unsigned int timeout)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
bool atomisp_css_valid_sof(struct atomisp_device *isp)
|
||||
{
|
||||
unsigned int i, j;
|
||||
|
Loading…
x
Reference in New Issue
Block a user