Преглед изворни кода

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 година
родитељ
комит
73fe1ba9dd
4 измењених фајлова са 0 додато и 13 уклоњено
  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 Прегледај датотеку

@@ -130,7 +130,6 @@ static void downloader_job_kill ( struct job_interface *job ) {
130 130
 
131 131
 /** Downloader job control interface operations */
132 132
 static struct job_interface_operations downloader_job_operations = {
133
-	.start		= ignore_job_start,
134 133
 	.done		= ignore_job_done,
135 134
 	.kill		= downloader_job_kill,
136 135
 	.progress	= ignore_job_progress,

+ 0
- 5
src/core/job.c Прегледај датотеку

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

+ 0
- 6
src/include/gpxe/job.h Прегледај датотеку

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

+ 0
- 1
src/net/udp/dhcp.c Прегледај датотеку

@@ -758,7 +758,6 @@ static void dhcp_job_kill ( struct job_interface *job ) {
758 758
 
759 759
 /** DHCP job control interface operations */
760 760
 static struct job_interface_operations dhcp_job_operations = {
761
-	.start		= ignore_job_start,
762 761
 	.done		= ignore_job_done,
763 762
 	.kill		= dhcp_job_kill,
764 763
 	.progress	= ignore_job_progress,

Loading…
Откажи
Сачувај