From patchwork Thu Sep 28 11:03:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Storm, Christian" X-Patchwork-Id: 819539 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:400c:c09::23d; helo=mail-wm0-x23d.google.com; envelope-from=swupdate+bncbdd6bwv65qpbblvpwphakgqe7czs3pi@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="U8MbTt1f"; dkim-atps=neutral Received: from mail-wm0-x23d.google.com (mail-wm0-x23d.google.com [IPv6:2a00:1450:400c:c09::23d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y2sM707ffz9t2Q for ; Thu, 28 Sep 2017 21:06:25 +1000 (AEST) Received: by mail-wm0-x23d.google.com with SMTP id 10sf470530wmv.16 for ; Thu, 28 Sep 2017 04:06:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1506596783; cv=pass; d=google.com; s=arc-20160816; b=ZyeV+oc8yTGjNN+tKMlkUywqjMrQcPuDjPiufdC03OkcRH6/bmwYbhZt4TU0vaHY15 d01keRNETAmOnQ2ORDgh8XBRlGcvJLwpL3284O7tS0CBAr7V8ShZr3dKweMSdSJ2177A MhRPwxOFxs672Bd3/XFp0kbT3f5XTrp2CZgcJudP5USMDsP/PFuNV4CGniiMiXN1gb9/ G4Y38ZHsz/BeD4vi59u43zCIElv1hBqlOMAq/5dWk0dqPBqih9xC4sNLY+Wdei8Yh7dX T3kwSGgp3rvw0mENt/ebQ6bQ00e4hvuEUaFOR0K/ADFL849oeAFPFKQV1wPu9neAChdw OMUQ== 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:message-id:date:subject:cc:to:from :arc-authentication-results:arc-message-signature:mime-version :sender:dkim-signature:arc-authentication-results; bh=sI7cLmkKjIBEpPB4w7TfZ7ZyHMX/KuMUwncQHa/GR/0=; b=cjcafPhMouiolXUOTlD4t5VWYSCtQnr6Qp8lcviMVl46dV22hbtx5NLUdm0+21ArE/ vMnePvZUaGTNOYTmC3avG6+q0pachbTcAzSrS8QPUxh+OSaIbFghM/RBEUpTWwHlQqXc wwUP/uuodzq8A9BflRyd0ZeF0iaiDdS/y16L1HyrhN3ZBJzg7XHM2RpkzhLxuELdfg3e r52MxCMOFZQow1fXWP0O1jlQw0OCOADmnDnZvZ8bfQoGt3K9DIoUWnhVaG/kbtB88rPl PiWXY6n+8QAI0LpukHyIkv6CMEawmvUiXaj69rNd/nyWUjCK94YoqYsgPE44PR9olSZf b2kg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by best guess record for domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=sI7cLmkKjIBEpPB4w7TfZ7ZyHMX/KuMUwncQHa/GR/0=; b=U8MbTt1fZGzHXQ/gSOPqLwH5mg8XDoRJR/op4MbipKr9Om+Pw3pzTWx9GTN2s677fK XQ2k8zN0Wt4bkyamZqJBaKF6NJKKQc75Xe95xUsEBrCFUZJAuppJ4rty/7L5C/hK+Ef7 wSw2b7D5sRnQKWeHMjnxoE+V5OszVvPGST0ydtj+jGQc4zuqrEMP45LspdXwi8MvE9tz BZc5GMDN6E1LURc5eJsAeQXfkxTpEAkVs4t+oLCHzvS6MP/iVJkAfeZphZIHxGWlcfcT tdFrciYSJrqP4FHMC3WN3Gef/yG+2jWloq0gQhZtcDlmZugQ6lyaIqRdivX3Ir1hDGkO h1zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=sI7cLmkKjIBEpPB4w7TfZ7ZyHMX/KuMUwncQHa/GR/0=; b=OH1ruJc3dfXogvdhgsPszZtwQVGe4iizJ5WWqfU1FLsMsAV6T06glhnFyCiwOfev16 bMVoK+SxCPRFGYlYC0Ipa6bNhZr1BDvRtkZeJ3alnqcrPLiDfQSvXICYaNcLZzmOfoic RPU1YfbqQBkgwy0ubYbgNSJ77Nl7sKsGVDamBnJ9NKhWUOL2t2hhcqjWiIBVZ7PFTjjQ 1Cs58jMqvQoGf7PqWZQ9igVuAw4wUFN6huWyKyeIOK4mofilS15qNyN4QHl4vqO81a4r KY8P0eEZsQKobUG+vFSDuutWhyZdbx77MJR3zgUYWOYnrIvxrESnlQTiuO/hnp5MpCXn Nrnw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AMCzsaU4H0HciCbD5ED8j5lcRtGouRJxmHdnNCSNwuQibr94Vap3rr5o JzvYkpiiinh06nGcPOBI+Yc= X-Google-Smtp-Source: AOwi7QDAJmqQd2C56/G5X4vCULV4nEXs2X3SY+DV5AUbk9SmeSyVlhgwF1NQbRbcCjLnPSqEkNbwGw== X-Received: by 10.28.218.208 with SMTP id r199mr3532wmg.19.1506596783003; Thu, 28 Sep 2017 04:06:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 10.223.155.208 with SMTP id e16ls1089598wrc.11.gmail; Thu, 28 Sep 2017 04:06:22 -0700 (PDT) X-Received: by 10.28.4.84 with SMTP id 81mr90195wme.28.1506596782659; Thu, 28 Sep 2017 04:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506596782; cv=none; d=google.com; s=arc-20160816; b=n+TKXoxawr2dn8Tn5AadSZfD93hQbkkcdMdDRMbayZHq0ahbEwG6FSVFWxRVyRhcQA +6FtpFxwR9bV6kFHjOab1z+sUkkgwx8iEaoFC6z52v3vzRnVkklbtqJYOTKjf61nRO8k PExYxvYosfWW1g3s31nYp44pKFFO+QygY4WfoT/y+abAH6rtXUMCopIrxSWPhODZvtue RoSsGq7BWqNJMn3aSlBUoxTekC8hcoyXls6b0tY2wOZERm1EJwQGltPx6nHjFm6BuvWJ +QsGY5rB7FC7tkfYQ8MDoLnPJZ+AXGwUr10Kk4FU4QEnl1J3tim/9yyXzrhmCloyprWt aPVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=NZTUoS4l78BD1ihXLTPNZcmaG9taXnge+3r49pbfqQI=; b=hHLtxu4Wkh/xDZETkGEzKib4vFbNyBbr1EJ7GL3Cy21xNkyIfzdhjPukpGM2yFnjOt iWBk8yxCqEqO4pq5WN7F3HFS9WDn1KubTQ2Dgxi/efU7IDHCfErlVvGm0oJFGyxWv9M/ hdk8L4TZI0ADtguu/4BPC+HK+JZnrT0ps1svgCvSZvujqQuB45yTwFRob8lykAEMXJ8K +FbYPUxolPFa86hnKlUQpeBix/7ZU6L0VCtUiZLiAnwXujzoox7BdHoNp/uCVucaaD01 8Q7lwhuMMZwB18BcIkNFU79scLzKxAaHqECgbmShNvG5gBXkFiYyEdCSIPlYHddqyEUh p0Zg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by best guess record for domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id q145si188891wme.4.2017.09.28.04.06.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Sep 2017 04:06:22 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.2 is neither permitted nor denied by best guess record for domain of christian.storm@siemens.com) client-ip=192.35.17.2; Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id v8SB6Mhx021463 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 28 Sep 2017 13:06:22 +0200 Received: from MD1KR9XC.ww002.siemens.net ([139.25.69.251]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id v8SB6MVq008785; Thu, 28 Sep 2017 13:06:22 +0200 From: Christian Storm To: swupdate@googlegroups.com Cc: Christian Storm Subject: [swupdate] [PATCH] core: remove unused $TMPDIR/datasrc Date: Thu, 28 Sep 2017 13:03:10 +0200 Message-Id: <20170928110310.27606-1-christian.storm@siemens.com> X-Mailer: git-send-email 2.14.1 X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.2 is neither permitted nor denied by best guess record for domain of christian.storm@siemens.com) smtp.mailfrom=christian.storm@siemens.com 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: , $TMPDIR/DATASRC_DIR_SUFFIX (= $TMPDIR/datasrc/) is unused. Remove it. Signed-off-by: Christian Storm Acked-by: Stefano Babic --- core/swupdate.c | 1 - include/globals.h | 1 - 2 files changed, 2 deletions(-) diff --git a/core/swupdate.c b/core/swupdate.c index a9c71cf..52e0a3f 100644 --- a/core/swupdate.c +++ b/core/swupdate.c @@ -420,7 +420,6 @@ static void swupdate_init(struct swupdate_cfg *sw) /* Create directories for scripts */ create_directory(SCRIPTS_DIR_SUFFIX); - create_directory(DATASRC_DIR_SUFFIX); create_directory(DATADST_DIR_SUFFIX); #ifdef CONFIG_MTD diff --git a/include/globals.h b/include/globals.h index 6e87839..124bcfb 100644 --- a/include/globals.h +++ b/include/globals.h @@ -35,7 +35,6 @@ /* These are fixed path to temporary files */ #define SCRIPTS_DIR_SUFFIX "scripts/" -#define DATASRC_DIR_SUFFIX "datasrc/" #define DATADST_DIR_SUFFIX "datadst/" #define BOOT_SCRIPT_SUFFIX "boot-script"