]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Kill off job::start() (it was only ever added as part of an aborted
authorMichael Brown <mcb30@etherboot.org>
Thu, 28 Jun 2007 00:09:45 +0000 (01:09 +0100)
committerMichael Brown <mcb30@etherboot.org>
Thu, 28 Jun 2007 00:09:45 +0000 (01:09 +0100)
attempt at triggering TCP-related protocols to start).

src/core/downloader.c
src/core/job.c
src/include/gpxe/job.h
src/net/udp/dhcp.c

index eec0c578cace81afb091e5cb43bde03becf97806..40003db0e4e67eaec1958193a04dce326c1a46d8 100644 (file)
@@ -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,
index 1c589fc78b739de046a54060646fce2fe9a7cb1a..8d7685862414ac10756c39ce716cbd8040c5219e 100644 (file)
@@ -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,
index 28885869cf114516fe6b57070a8ede80cb46c3ef..3190fa2128fb3e4b77ec0f170977fc8d0ca8056f 100644 (file)
@@ -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,
index e5a95b38edb9b2ccc150f73169d73545d3018860..1778ba702af8cac50bcab471333ef1cad39ffcf8 100644 (file)
@@ -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,