From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F24A3A0563; Wed, 15 Apr 2020 20:17:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D7D791C1B7; Wed, 15 Apr 2020 20:17:07 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2068.outbound.protection.outlook.com [40.107.20.68]) by dpdk.org (Postfix) with ESMTP id 74F6C1C1B1 for ; Wed, 15 Apr 2020 20:17:06 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MqgIYbt+3PDZy23P+95leioTwxTgOq16liHO8jLLsEnE+/Q1sUarYBpJz1AL+KJVtat+TZvvwKDvS9d3rg8q4lT+bq92puQsOz2EY+SESYhhESZcEY6IhV43o4fPj/P0Bq0r420KZ8FN3Xk9y23FmvviLw6HWH7rg542FQCGONu3txHThKKjh/HSOinnlpSQ/Qp2IR/PjeR8TwP6UYD3/IbyH2KvEX+c2H3Thk+HAdSkT8l4gDSPOztIACEjqagB+8PHsiBVf1iGAMStQVZVjG9fNDzUZ7m3FinNGPuXIY/c0aVFw7geT1PGn2rsKlmW5w8xZoVe3x6lIdv0gABx2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yJNC4afYgmFWO9YBddNHZ6oWCfLVz0kdlB55VRRJkGg=; b=mcPfLNfrUxBvjxs5GI+Kz5mg+4SWeNHp2a8oVZDqIZuY5uzE5QYA4iWIyMud/iOp+GCItlOxDnpn2Z6hKUPfEB1rnXVLvsccpyqzWKleT4M14JmzkQ3h6BxhK2l+55yEwUplWnKS6rAd+xxcrreNPO6XUyegf0+tPw+R5Wgh+dypm48COvMZ+1F7Qfo5NMjLOdKFEZ5bSkOXUGTE3rmk5A+RHvY5VAjiBHRLw4Uma6ByeelngxvEolemgfNv0IbXku86pkJb4Q2uYpwfzzXKCiSUisSUZUF16ZEL+kJCVyPOI6T+wxasVlY3B/dVKz8J4ZF7E2btBZAfe0F5SV09nA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yJNC4afYgmFWO9YBddNHZ6oWCfLVz0kdlB55VRRJkGg=; b=d3QwfbL5duCF0Y1in1FR3Z++LcBE6g09v/5+44/qAbXByeWWTn7W9RG3zbJUwf+0aXcspbYKz8pyJ3nRqXgoxFuLXig4+EmaPD5c22FA9Ejjg483p7/TUWgsLzQkd4HGNYS/mDwJtq9y/XjWOwymGkFMZSXYXLP4Ejh120jr6Zo= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB4751.eurprd04.prod.outlook.com (2603:10a6:803:53::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.26; Wed, 15 Apr 2020 18:17:05 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74%7]) with mapi id 15.20.2900.028; Wed, 15 Apr 2020 18:17:05 +0000 From: Akhil Goyal To: wangyunjian , "dev@dpdk.org" CC: Hemant Agrawal , "jerry.lilijun@huawei.com" , "xudingke@huawei.com" Thread-Topic: [dpdk-dev] [PATCH] crypto/dpaa2_sec: remove unnecessary NULL check Thread-Index: AQHWB0Zts8HPg31yb0e6PhiZPufYMKh6lXcg Date: Wed, 15 Apr 2020 18:17:05 +0000 Message-ID: References: <1585650168-6372-1-git-send-email-wangyunjian@huawei.com> In-Reply-To: <1585650168-6372-1-git-send-email-wangyunjian@huawei.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [45.118.166.69] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 22274d97-0e0c-42e4-9077-08d7e16933f2 x-ms-traffictypediagnostic: VI1PR04MB4751:|VI1PR04MB4751: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:439; x-forefront-prvs: 0374433C81 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(39860400002)(366004)(136003)(396003)(346002)(376002)(7696005)(44832011)(76116006)(71200400001)(52536014)(186003)(66946007)(478600001)(2906002)(9686003)(316002)(55016002)(558084003)(54906003)(110136005)(4326008)(8936002)(5660300002)(6506007)(66556008)(64756008)(66446008)(81156014)(33656002)(86362001)(8676002)(26005)(66476007); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lPNDtRti/ROSB47YhKGk384EemSb/z1eTEat1+drEKmr3cZsS8f+l8oqCj1xx304rKzJyLd6+qEOexe9gd2Que2FcYMZOtu5fA80DA667SsjZBEiRSTFaLnlfuI8JuoOk9cDqX0Att8nqbHGwQyNiOJJNfOLApDJfnpQypYzLtVXeOPhd7NRZ5bgF9GUxJNUmMj58rHAsxKDPOrBoutyKz82PGPMIUWzoieQQFxuvnQdX7mxPser3qf+tfuR10gEoHzF2fqC8a2RkIL+cRFCdOA9auIU8zv3oSHfWBT93Ozi1Iwootw2H03l/p2ENUXVyEuJrgglHvWHG0rP0uVNFLFLDHdAeVpXOdnuSG3COvCTQF5kcFNgkG7MNiVNjwlThHcHKgReOLYDT8rSEECR4kzIzLqr/YAlTfjL/f2HQbpvxQDrVqID4DG3WN+/jfFx x-ms-exchange-antispam-messagedata: MSgYBgsiX93l9klbVIkGpGV//bdMwLxTTyQ97noO8P48S47n6ezwQC+/BZoIVeA+UV8QHMY8uyZyJvD1BrLUBhmN665kj98o/WqQvV5KgEzrOHQwIrghk0/ClkXSZpGQqGpBPih+FOzP4mD2tQtshQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22274d97-0e0c-42e4-9077-08d7e16933f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2020 18:17:05.4555 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2IFbz3OS1GYzPLYXx20nzz02E2dFw0An0sobgzcZP3f67b+yBbs728LOSNEItSd1uxRSQD22ew3ynyQxuvL+pg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4751 Subject: Re: [dpdk-dev] [PATCH] crypto/dpaa2_sec: remove unnecessary NULL check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > From: Yunjian Wang >=20 > This NULL check is unnecessary, container_of is never NULL. >=20 > Signed-off-by: Yunjian Wang > --- Acked-by: Akhil Goyal