mirror of https://github.com/ipxe/ipxe.git
Kill off job::start() (it was only ever added as part of an aborted
attempt at triggering TCP-related protocols to start).pull/1/head
parent
07dc294de8
commit
73fe1ba9dd
|
@ -130,7 +130,6 @@ static void downloader_job_kill ( struct job_interface *job ) {
|
||||||
|
|
||||||
/** Downloader job control interface operations */
|
/** Downloader job control interface operations */
|
||||||
static struct job_interface_operations downloader_job_operations = {
|
static struct job_interface_operations downloader_job_operations = {
|
||||||
.start = ignore_job_start,
|
|
||||||
.done = ignore_job_done,
|
.done = ignore_job_done,
|
||||||
.kill = downloader_job_kill,
|
.kill = downloader_job_kill,
|
||||||
.progress = ignore_job_progress,
|
.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 ) {
|
void ignore_job_done ( struct job_interface *job __unused, int rc __unused ) {
|
||||||
/* Nothing to do */
|
/* Nothing to do */
|
||||||
}
|
}
|
||||||
|
@ -62,7 +58,6 @@ void ignore_job_progress ( struct job_interface *job __unused,
|
||||||
|
|
||||||
/** Null job control interface operations */
|
/** Null job control interface operations */
|
||||||
struct job_interface_operations null_job_ops = {
|
struct job_interface_operations null_job_ops = {
|
||||||
.start = ignore_job_start,
|
|
||||||
.done = ignore_job_done,
|
.done = ignore_job_done,
|
||||||
.kill = ignore_job_kill,
|
.kill = ignore_job_kill,
|
||||||
.progress = ignore_job_progress,
|
.progress = ignore_job_progress,
|
||||||
|
|
|
@ -33,11 +33,6 @@ struct job_interface;
|
||||||
|
|
||||||
/** Job control interface operations */
|
/** Job control interface operations */
|
||||||
struct job_interface_operations {
|
struct job_interface_operations {
|
||||||
/** Start job
|
|
||||||
*
|
|
||||||
* @v job Job control interface
|
|
||||||
*/
|
|
||||||
void ( * start ) ( struct job_interface *job );
|
|
||||||
/** Job completed
|
/** Job completed
|
||||||
*
|
*
|
||||||
* @v job Job control interface
|
* @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 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_done ( struct job_interface *job, int rc );
|
||||||
extern void ignore_job_kill ( struct job_interface *job );
|
extern void ignore_job_kill ( struct job_interface *job );
|
||||||
extern void ignore_job_progress ( 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 */
|
/** DHCP job control interface operations */
|
||||||
static struct job_interface_operations dhcp_job_operations = {
|
static struct job_interface_operations dhcp_job_operations = {
|
||||||
.start = ignore_job_start,
|
|
||||||
.done = ignore_job_done,
|
.done = ignore_job_done,
|
||||||
.kill = dhcp_job_kill,
|
.kill = dhcp_job_kill,
|
||||||
.progress = ignore_job_progress,
|
.progress = ignore_job_progress,
|
||||||
|
|
Loading…
Reference in New Issue