summaryrefslogtreecommitdiff
path: root/src/driver/slbt_amain.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-24 12:34:04 -0400
committermidipix <writeonce@midipix.org>2016-10-24 12:44:05 -0400
commit1379f79d286988f2582ff8efb1af736bf4229a3f (patch)
tree33c69145e2e9946812cad94ec888c720d9811968 /src/driver/slbt_amain.c
parent53b79cb91864bfdbc1205c461807879ecbe18397 (diff)
downloadslibtool-1379f79d286988f2582ff8efb1af736bf4229a3f.tar.bz2
slibtool-1379f79d286988f2582ff8efb1af736bf4229a3f.tar.xz
driver: removed unit context and related interfaces (not needed by slibtool).
Diffstat (limited to 'src/driver/slbt_amain.c')
-rw-r--r--src/driver/slbt_amain.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c
index 25a1159..5d1417e 100644
--- a/src/driver/slbt_amain.c
+++ b/src/driver/slbt_amain.c
@@ -72,11 +72,6 @@ static void slbt_perform_driver_actions(struct slbt_driver_ctx * dctx)
slbt_exec_uninstall(dctx,0);
}
-static void slbt_perform_unit_actions(struct slbt_unit_ctx * uctx)
-{
- (void)uctx;
-}
-
static int slbt_exit(struct slbt_driver_ctx * dctx, int ret)
{
slbt_output_error_vector(dctx);
@@ -89,8 +84,6 @@ int slbt_main(int argc, char ** argv, char ** envp)
int ret;
uint64_t flags;
struct slbt_driver_ctx * dctx;
- struct slbt_unit_ctx * uctx;
- const char ** unit;
char * program;
char * dash;
char * sargv[5];
@@ -161,12 +154,5 @@ int slbt_main(int argc, char ** argv, char ** envp)
slbt_perform_driver_actions(dctx);
- for (unit=dctx->units; *unit; unit++) {
- if (!(slbt_get_unit_ctx(dctx,*unit,&uctx))) {
- slbt_perform_unit_actions(uctx);
- slbt_free_unit_ctx(uctx);
- }
- }
-
return slbt_exit(dctx,dctx->errv[0] ? 2 : 0);
}