mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-24 12:11:33 +00:00
Kill off job::start() (it was only ever added as part of an aborted
attempt at triggering TCP-related protocols to start).
This commit is contained in:
parent
07dc294de8
commit
73fe1ba9dd
@ -130,7 +130,6 @@ static void downloader_job_kill ( struct job_interface *job ) {
|
||||
|
||||
/** Downloader job control interface operations */
|
||||
static struct job_interface_operations downloader_job_operations = {
|
||||
.start = ignore_job_start,
|
||||
.done = ignore_job_done,
|
||||
.kill = downloader_job_kill,
|
||||
.progress = ignore_job_progress,
|
||||
|
@ -43,10 +43,6 @@ void job_done ( struct job_interface *job, int rc ) {
|
||||
*
|
||||
*/
|
||||
|
||||
void ignore_job_start ( struct job_interface *job __unused ) {
|
||||
/* Nothing to do */
|
||||
}
|
||||
|
||||
void ignore_job_done ( struct job_interface *job __unused, int rc __unused ) {
|
||||
/* Nothing to do */
|
||||
}
|
||||
@ -62,7 +58,6 @@ void ignore_job_progress ( struct job_interface *job __unused,
|
||||
|
||||
/** Null job control interface operations */
|
||||
struct job_interface_operations null_job_ops = {
|
||||
.start = ignore_job_start,
|
||||
.done = ignore_job_done,
|
||||
.kill = ignore_job_kill,
|
||||
.progress = ignore_job_progress,
|
||||
|
@ -33,11 +33,6 @@ struct job_interface;
|
||||
|
||||
/** Job control interface operations */
|
||||
struct job_interface_operations {
|
||||
/** Start job
|
||||
*
|
||||
* @v job Job control interface
|
||||
*/
|
||||
void ( * start ) ( struct job_interface *job );
|
||||
/** Job completed
|
||||
*
|
||||
* @v job Job control interface
|
||||
@ -71,7 +66,6 @@ extern struct job_interface_operations null_job_ops;
|
||||
|
||||
extern void job_done ( struct job_interface *job, int rc );
|
||||
|
||||
extern void ignore_job_start ( struct job_interface *job );
|
||||
extern void ignore_job_done ( struct job_interface *job, int rc );
|
||||
extern void ignore_job_kill ( struct job_interface *job );
|
||||
extern void ignore_job_progress ( struct job_interface *job,
|
||||
|
@ -758,7 +758,6 @@ static void dhcp_job_kill ( struct job_interface *job ) {
|
||||
|
||||
/** DHCP job control interface operations */
|
||||
static struct job_interface_operations dhcp_job_operations = {
|
||||
.start = ignore_job_start,
|
||||
.done = ignore_job_done,
|
||||
.kill = dhcp_job_kill,
|
||||
.progress = ignore_job_progress,
|
||||
|
Loading…
Reference in New Issue
Block a user