From patchwork Thu Mar 19 00:17:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 46006 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AA0402153C for ; Thu, 19 Mar 2015 00:17:48 +0000 (UTC) Received: by lbvn10 with SMTP id n10sf9956781lbv.1 for ; Wed, 18 Mar 2015 17:17:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=hUDeIy0I4J6f4Jd/Lc2+HpmfQ97/WGry2930UK1nY3s=; b=G0Pfr+wWdz9L8j5TeHIzrIzlJd97irRMdiLXD+ztGXLgObpGhj+iOY3Oi2P+KMLRRt OudEPRboam59yDns1+6p2Dyc/TaZxglmStKrVt8SDGsl220mJk5uQ8iU9JtyjBOJt6AD bUjAIa9HrWCXycVH1MdNz5gN+f82ZU5alPLVNPy+mPjXXCDdRNhOn/n2ovVzTkIu5qGz 2hrYLxcqE2eACMHlkBRXM5VRCzO25VKi45hDqxuFgZ9bYYdk+E98jmQKj2Q3dp+Y77hZ Qezx/u5VzuqODHapz6eaoszCAbJ375Zy96IQc+HWormnTPgrUBd+UVZcoBtN/W6mzSs8 q0vA== X-Gm-Message-State: ALoCoQlf0UiHguTBsZqMJRq45zOzYfACXu9EdNoQ5MRMZR8IxVj7sTC3f9w0noTmoAJa3A6nv4xE X-Received: by 10.112.9.65 with SMTP id x1mr11733030lba.16.1426724267244; Wed, 18 Mar 2015 17:17:47 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.75 with SMTP id da11ls215880lad.95.gmail; Wed, 18 Mar 2015 17:17:46 -0700 (PDT) X-Received: by 10.152.43.229 with SMTP id z5mr59142278lal.48.1426724266953; Wed, 18 Mar 2015 17:17:46 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id pw4si14011547lbb.87.2015.03.18.17.17.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Mar 2015 17:17:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbbsy1 with SMTP id sy1so41672643lbb.1 for ; Wed, 18 Mar 2015 17:17:46 -0700 (PDT) X-Received: by 10.112.185.66 with SMTP id fa2mr65316294lbc.117.1426724266805; Wed, 18 Mar 2015 17:17:46 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp60375lbj; Wed, 18 Mar 2015 17:17:46 -0700 (PDT) X-Received: by 10.55.23.6 with SMTP id i6mr93560037qkh.39.1426724265561; Wed, 18 Mar 2015 17:17:45 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id f31si18268847qge.11.2015.03.18.17.17.44 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 18 Mar 2015 17:17:45 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YYO9c-0005OX-Cb; Thu, 19 Mar 2015 00:17:40 +0000 Received: from mail-qg0-f53.google.com ([209.85.192.53]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YYO9X-0005OS-9W for lng-odp@lists.linaro.org; Thu, 19 Mar 2015 00:17:35 +0000 Received: by qgh62 with SMTP id 62so52695111qgh.1 for ; Wed, 18 Mar 2015 17:17:30 -0700 (PDT) X-Received: by 10.140.145.3 with SMTP id 3mr94767504qhr.43.1426724250068; Wed, 18 Mar 2015 17:17:30 -0700 (PDT) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id f46sm13000070qgd.3.2015.03.18.17.17.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Mar 2015 17:17:29 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 18 Mar 2015 20:17:24 -0400 Message-Id: <1426724244-9611-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] scripts: odp_check: remove astyle X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 ODP has not adopted a style that can be universally applied with a tool such as astyle. Remove astyle leaving only the cleanup for whitespace and checkpatch elements for checking src files before a patch is created. Signed-off-by: Mike Holmes --- scripts/odp_check | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/odp_check b/scripts/odp_check index 09c859b..33809dc 100755 --- a/scripts/odp_check +++ b/scripts/odp_check @@ -1,8 +1,6 @@ #!/bin/bash # -# This script is an indenter, white space remover, -# formatter, and beautifier and general source file -# clean up for the ODP project. +# This script is a clean up for the ODP project src files. # # Usage # ./scripts/opd_check @@ -10,11 +8,5 @@ set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -if ! type "astyle" >/dev/null >/dev/null; then - echo "Please install astyle from http://astyle.sourceforge.net/" - exit -1 -fi - -astyle --style=linux --indent=force-tab=8 --align-pointer=name $1 $DIR/cleanfile $1 $DIR/checkpatch.pl -f $1