From patchwork Thu Feb 15 15:17:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1899382 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=BJS5/GXg; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::137; helo=mail-lf1-x137.google.com; envelope-from=swupdate+bncbaabb7gvxcxamgqeh2njr6q@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lf1-x137.google.com (mail-lf1-x137.google.com [IPv6:2a00:1450:4864:20::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TbJZn4416z23hm for ; Fri, 16 Feb 2024 02:17:20 +1100 (AEDT) Received: by mail-lf1-x137.google.com with SMTP id 2adb3069b0e04-51161adad50sf1014877e87.2 for ; Thu, 15 Feb 2024 07:17:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708010237; cv=pass; d=google.com; s=arc-20160816; b=cO0rb32Pmc6WpDWrJ5qQCxvCvW74zLi7cfRF9ocDGagdkj64sX1MEdpwUjB6YYhfiD OGhklymKwW3A2OkVPiRQkW9EePBdikXmJ6OS/9+bHRWxOPMufORXkDMhpFaCqCxVyKBa QfGZ1rFtEthFbWzUCH2cUvde9aCNq+aUx2C5DQo00XtqeTRqR6VRfKT/2w7InT3PbYsM R0Wy/fH2Sl3C7kSmWTuZ5q9b6bQxoIBaLc1sf1mDLT/5M6VKThquC7UycIVA+54FqLnG fSKuwpY82oSCiebJzWzyBkj9F7QwBJMLc99OVFKfkuMSCL849RHQDVoH3Hv5jaQ0Y2xU 4Mog== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:ui-outboundreport:mime-version :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=8bRdgy0pSgzMWNi8t9ucxOvovRf9AttWushjLUhhTNk=; fh=2WPramhUyskG8rjIXaMbm3n0LZnDSZJU+w2wyWDL2Z0=; b=ZeZUYXEzMMRiHY8BIf61Ea1MV+5W6RDdUEtJISaeMLZiuETB+b6wnUL+UsZ1KVDqfj bkOMdCNhG1ualmwl4RLxvKnoSWF8Y0UbH0Y3DbKusWR4Wr57S/1e3bmX9ubE5qzsxJn4 R8sJHEIKJEpiIQiKeiFGxaVSB63NKehb72c/mYebM3K3aAu3cxNVWx4xX/giTa9QT0nI o93Zp4x8a9+/9UKEZoK5Yd0B0OFsSHxjiF40dc2euCWo/wj3eUwjhCj5biSnzbytJerJ R50GWMqKqijQf4fRReeBtJz3Duoz2UZVaP4qPrp0rNW+SL0dMa4sa60nrM7uqB4qFTe0 pa3Q==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=DxYGjbyI; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.75 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1708010237; x=1708615037; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:ui-outboundreport:mime-version:message-id:date :subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=8bRdgy0pSgzMWNi8t9ucxOvovRf9AttWushjLUhhTNk=; b=BJS5/GXg7UiD/CU2Ly+EIWdWkQv22siT2G3GGgm8JUfnSxMUWaoQvoby0mGWwly3Lb CPTHyqL5UGQ5DFhf6I7xqfo9AjyQqUEw9vqu8/du84WBqrVrJV/f02LxGKPv0h8PBp9d /Z0gNr1vuyb3lc7pgx2H8BWTkdxZnUvoo61Q3F+nfmr7ui6dgVzt4kndbLFe2f9McrCA PLSuYMgVtEB2pvGM0RHxTPN6a4XWp1riDWmR/ly49OGCQuJ/StoSq51xAGhJvQHs7bmw BxdrH0n2RNitBUvuKsFPduOLWUTEwdv/zD4mS368kAtzcQ70ukwQFHc0DYqk/aypclfQ UL/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708010237; x=1708615037; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :ui-outboundreport:mime-version:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=8bRdgy0pSgzMWNi8t9ucxOvovRf9AttWushjLUhhTNk=; b=iCEv85sokXz5eZ7gEDLCNf5JalI2Rnleviy3g6yv7OKfb9kIS+bK3xLETNyLtenv+u aK1OzVvJsV1Sj6LelliwaSAXdAoJl9h7jEYJHKv9Hhg9fmldbhA6tUHY4wrFkqfbL7J5 4zvpAA0Dx7lQQFItr6oUEaJEdKinvIgrIBUcSkUlkxEt2qQ9OQiy06u2VK6DTcXGgRas cRIVy9elLHhMZ54lRzWHbEFKhZ7NCO2wnms1iX1Bbz6HfXFtT5F/AT9E3kW937vMNzD8 OPB3h1BBhDY7FIFbsF3BGvJmm8kyq0/P5b660lA65WHr6W/DlHAAOWomfPZoIfmn16+k Q+lQ== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVsWthph09+m/M+L2iQlokB7UEwBMt43tmWexS7REmDgscqh6OiQtr/QnA23a7T3us84R+rYDgXSmVcFTd+KVVG3TuQg041p0wRMqcpdg== X-Gm-Message-State: AOJu0YywdJpWxMT7Pecfye3oJEZWnuMoH2LEueU6efdShyeSgayK4i7m 6xl+F19LZJQUSKrmsy57o06xpybGp5Cq77Kw9WVPfxcxPAHH5YTi X-Google-Smtp-Source: AGHT+IEB6GPA7aOteC9CzS9PB8uGJwCWujR1ovxSqzheyA57W+XGVpMnj39zxB3ON9YKhVxj5Ie9Qg== X-Received: by 2002:a19:911e:0:b0:511:941d:37d4 with SMTP id t30-20020a19911e000000b00511941d37d4mr1515419lfd.5.1708010237065; Thu, 15 Feb 2024 07:17:17 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6512:3e18:b0:511:5040:5a57 with SMTP id i24-20020a0565123e1800b0051150405a57ls329484lfv.2.-pod-prod-02-eu; Thu, 15 Feb 2024 07:17:15 -0800 (PST) X-Received: by 2002:ac2:5ede:0:b0:512:55c8:da4a with SMTP id d30-20020ac25ede000000b0051255c8da4amr1558929lfq.24.1708010234872; Thu, 15 Feb 2024 07:17:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708010234; cv=none; d=google.com; s=arc-20160816; b=nQ/i4degJkD/GyhVGGMvudG7Q73hAp+8yIv+xSvkyfiD3yqx720G7bmKzpiMfPeQ1A Wk/w8Jpiay4fH9fYr+wV4Le+y+574cMIOs5Uzu16GVD1/+T3rxW8stTSfDRUIalpZUYp r53am24rC8E178Jy0imrZvs7ZQbBeYFpUKbsh3golTRB+VP10Mifq5S37jMgLr7CPXye CoYvEd79bZPr64+Foxf2t9T0r7wprAJFt/FBiJor8jNaMUaDhXmMdZewghzDElCIgVTF 060qNbUKMmQVJPyjKK8UStLrfLoT7lzxR8Z3yy3B4ZHYjDFsxjYNCOhx5wvQ+iwKyX3p rk6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version:message-id :date:subject:cc:to:from:dkim-signature; bh=oku7Q8BrG8ush43+zyI6DaUafIzY98jtnVRG3JDJ5tU=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=vdDlnMYqVxHPOwHLojn0+0CgtbSqb9abBmGwMVfHKWJbxbmLnchUrvRm177s52bgNK 9iKFmz3Gfv7LsGFXgXSp+GVaP5xaA1RNDlUcIopiaQwInDVE0fLLQdGrmymxP2MeoHJ4 jhtRhNefW5kAI4omQVzHnZLILh+JXcULWsTAyAc8swtSvQ13fprJgg7I6q9pQ1rXb+kv y67ehZG93So3OxuUEyQuDL+zf3pD47N8uOiit/puxpWcHV7pxByXwD4aZdlySC/uqsS9 JdMUyWCI44lvrczQYgDmSYbIIcBkSO2mYuiceMTyxsv8iFcx01EUMOya+1ktC1C+qfWw kujg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=DxYGjbyI; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.75 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mout.kundenserver.de (mout.kundenserver.de. [217.72.192.75]) by gmr-mx.google.com with ESMTPS id d1-20020a0565123d0100b00511495618fdsi55903lfv.7.2024.02.15.07.17.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 07:17:14 -0800 (PST) Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.75 as permitted sender) client-ip=217.72.192.75; X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1N6KMR-1qvII449jF-016cCY; Thu, 15 Feb 2024 16:17:14 +0100 From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH] Cleanup: drop unused enum Date: Thu, 15 Feb 2024 16:17:11 +0100 Message-Id: <20240215151711.115513-1-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:77bt5akG2TkOkVsdqZfrPMRt19BMFV8Z6cP4XksqfKFOC4XLAHx gY82tHmO2CRmskkWB1kTTRyFB9+yBCp22gTK/VmHxyH88+lbdW+GIoyrHtzubvThZP9rvVb o1XJiMu16bmYmt+Tg0Zd4jARjQmtrWRJFkMR/nC4TD7GQSyDSo47xJ0b+XJ9HK72IhV6ru1 PohRtUPKxGsHQMgIgcOag== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:/BFA/zX4Oc4=;SXwbZVLaM00z5jAhngD/d/HBGr0 ktcKznXLWqmBPIoFQKuBVm5nYsV6ql2GjeZ5wdvmsStwzRHhbP8msklug9h8D9CIJD/wRTX0r 1bXw3wEcbUyXAXxqV8cNi8W5yvElYvZXoyBRqbgfINcPnwFIhkNWnVnM4NmvrZPvWPUcbnXLq hsnOqUY1YPCjFsFDl739kX+FoEyc3rBtjdVSZ4A7QGrN8E4qCATED6XBiVvbn00h7MDkOvV8Z 7UyMgmjB8+yi1tXql7VukjORXiuckNHoKtm7YAmWYSKH6bF6t5kCRuyU/wdirKBh4V+5ovyNI VgCdSfAn7GQhMdF2khSuO8TY1HS8B12T5AgDVyJnc3TEoSm10J1qTN3+u2t95q2U0q1ZPTOOt PclQYr5X0cs4kuZMMdVpG8icQZt8qRkr5DnpeQlji9xqN77FJxGAlScBf25TFeOiIGdeNTij3 gjyi6ipBwHo8euHfOsBSuaVfFqpnO0VgxK0co1aEGZBnLpLer7StZmARIpNDP+xVpcXzxV8wC 5p1ArWmh94ARLs/8bC4qQohxXN3C6Sb+XeHIe6cmMNA/GtYJ53cqy9fLFQAhY4/ZrVXXR4QCy ETBnmVWn6CO4WQ4gwJYoh50TTFrKo9V8LeFSG1dDMqqwb99sR5V/1dfvLfCdZuDR4ROUXis6f nw0m/iDVh0alqfmBj52Nv2PbRm2zVIPZXlufbsRa6UnZuuftuMvqqUsOjoZvZ84A1uqXc68ap f7baf9OMa7SocLIjogPmBe8b3TYQ9Oz12J4/CJuFRqiauMIkoE792A= X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=DxYGjbyI; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.75 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Stefano Babic --- include/swupdate.h | 6 ------ 1 file changed, 6 deletions(-) -- 2.34.1 diff --git a/include/swupdate.h b/include/swupdate.h index c1f86b36..883bad51 100644 --- a/include/swupdate.h +++ b/include/swupdate.h @@ -36,12 +36,6 @@ struct extproc { LIST_HEAD(proclist, extproc); -enum { - SCRIPT_NONE, - SCRIPT_PREINSTALL, - SCRIPT_POSTINSTALL -}; - struct swupdate_parms { bool dry_run; char software_set[SWUPDATE_GENERAL_STRING_SIZE];