From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9EC6F2BB2 for ; Fri, 4 Mar 2016 12:43:21 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 04 Mar 2016 03:43:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,535,1449561600"; d="scan'208";a="663767553" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by FMSMGA003.fm.intel.com with ESMTP; 04 Mar 2016 03:43:22 -0800 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX152.ger.corp.intel.com (163.33.192.66) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 4 Mar 2016 11:43:19 +0000 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.35]) by irsmsx155.ger.corp.intel.com ([169.254.14.201]) with mapi id 14.03.0248.002; Fri, 4 Mar 2016 11:43:19 +0000 From: "Ananyev, Konstantin" To: "Yigit, Ferruh" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] igb_uio: use macros for array size calculation Thread-Index: AQHRdgge4xnyq/IT8U+lKfsJHezSP59JKcCQ Date: Fri, 4 Mar 2016 11:43:18 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836B1638C@irsmsx105.ger.corp.intel.com> References: <1457024900-18245-2-git-send-email-ferruh.yigit@intel.com> <1457090476-22179-1-git-send-email-ferruh.yigit@intel.com> In-Reply-To: <1457090476-22179-1-git-send-email-ferruh.yigit@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODk5ZTliYjQtMjljNS00Yzk1LThhM2UtYmEzZTM3MzY4ZThjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InZcL0VBcURhYnhENFlDNEltVE5WK3dsZkZiaFFPeFRnRll4NExMK2xrVkVFPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] igb_uio: use macros for array size calculation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2016 11:43:22 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Friday, March 04, 2016 11:21 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2] igb_uio: use macros for array size calcula= tion >=20 > Minor code cleanup. > Remove array size calculations and remove unnecessary assignment. >=20 > Signed-off-by: Ferruh Yigit > --- Acked-by: Konstantin Ananyev > lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)