Browse Source

Kill off job::start() (it was only ever added as part of an aborted

attempt at triggering TCP-related protocols to start).
tags/v0.9.3
Michael Brown 17 years ago
parent
commit
73fe1ba9dd
4 changed files with 0 additions and 13 deletions
  1. 0
    1
      src/core/downloader.c
  2. 0
    5
      src/core/job.c
  3. 0
    6
      src/include/gpxe/job.h
  4. 0
    1
      src/net/udp/dhcp.c

+ 0
- 1
src/core/downloader.c View File

130
 
130
 
131
 /** Downloader job control interface operations */
131
 /** Downloader job control interface operations */
132
 static struct job_interface_operations downloader_job_operations = {
132
 static struct job_interface_operations downloader_job_operations = {
133
-	.start		= ignore_job_start,
134
 	.done		= ignore_job_done,
133
 	.done		= ignore_job_done,
135
 	.kill		= downloader_job_kill,
134
 	.kill		= downloader_job_kill,
136
 	.progress	= ignore_job_progress,
135
 	.progress	= ignore_job_progress,

+ 0
- 5
src/core/job.c View File

43
  *
43
  *
44
  */
44
  */
45
 
45
 
46
-void ignore_job_start ( struct job_interface *job __unused ) {
47
-	/* Nothing to do */
48
-}
49
-
50
 void ignore_job_done ( struct job_interface *job __unused, int rc __unused ) {
46
 void ignore_job_done ( struct job_interface *job __unused, int rc __unused ) {
51
 	/* Nothing to do */
47
 	/* Nothing to do */
52
 }
48
 }
62
 
58
 
63
 /** Null job control interface operations */
59
 /** Null job control interface operations */
64
 struct job_interface_operations null_job_ops = {
60
 struct job_interface_operations null_job_ops = {
65
-	.start		= ignore_job_start,
66
 	.done		= ignore_job_done,
61
 	.done		= ignore_job_done,
67
 	.kill		= ignore_job_kill,
62
 	.kill		= ignore_job_kill,
68
 	.progress	= ignore_job_progress,
63
 	.progress	= ignore_job_progress,

+ 0
- 6
src/include/gpxe/job.h View File

33
 
33
 
34
 /** Job control interface operations */
34
 /** Job control interface operations */
35
 struct job_interface_operations {
35
 struct job_interface_operations {
36
-	/** Start job
37
-	 *
38
-	 * @v job		Job control interface
39
-	 */
40
-	void ( * start ) ( struct job_interface *job );
41
 	/** Job completed
36
 	/** Job completed
42
 	 *
37
 	 *
43
 	 * @v job		Job control interface
38
 	 * @v job		Job control interface
71
 
66
 
72
 extern void job_done ( struct job_interface *job, int rc );
67
 extern void job_done ( struct job_interface *job, int rc );
73
 
68
 
74
-extern void ignore_job_start ( struct job_interface *job );
75
 extern void ignore_job_done ( struct job_interface *job, int rc );
69
 extern void ignore_job_done ( struct job_interface *job, int rc );
76
 extern void ignore_job_kill ( struct job_interface *job );
70
 extern void ignore_job_kill ( struct job_interface *job );
77
 extern void ignore_job_progress ( struct job_interface *job,
71
 extern void ignore_job_progress ( struct job_interface *job,

+ 0
- 1
src/net/udp/dhcp.c View File

758
 
758
 
759
 /** DHCP job control interface operations */
759
 /** DHCP job control interface operations */
760
 static struct job_interface_operations dhcp_job_operations = {
760
 static struct job_interface_operations dhcp_job_operations = {
761
-	.start		= ignore_job_start,
762
 	.done		= ignore_job_done,
761
 	.done		= ignore_job_done,
763
 	.kill		= dhcp_job_kill,
762
 	.kill		= dhcp_job_kill,
764
 	.progress	= ignore_job_progress,
763
 	.progress	= ignore_job_progress,

Loading…
Cancel
Save