Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp855231ybh; Mon, 13 Jul 2020 03:07:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzf7a7fzYpVHwpLcLHnZya1fX+3FzoQuNEpT5ur3O5dHcE83YsuraIAWwhmV5jbnCs7cFgZ X-Received: by 2002:a05:6402:1d3a:: with SMTP id dh26mr72313754edb.349.1594634865638; Mon, 13 Jul 2020 03:07:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594634865; cv=pass; d=google.com; s=arc-20160816; b=SLuH87j/L6v8XsUydOTbnugAvRyCzexr9rtBuFkmS3J7LVhW2/rVCJbzzNt3w9qF+A toF4QisELjz7682Kgs2ezhgJtMgn+czQEYL9ddH/Ynnr/hgO84jHzDyLk6O8tiw83wSs 68Ur2rRgLbGGnPnR7xeC0QHwDJOWIZirXC5MgTuYyMGQCzuapvzQK58ULBEtFkB9Oqqr 7AdfM2Uyr4pR9pJ8tP4JBmdD20VlT77h83wCSCC/vsiy0DpihAC+BI1PRXnjW/cJTwRN CZhzJrckMnW0UPyeCJVcOQKMvsSacoeJnYbxNqgxVyH72vY5QOZZWKeIY2Wwi+QwJLCV aYXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=TDu8WacNDgxsaO4CCdNw1INAvayJRUr/Z+FXhQ/VFtw=; b=Nx2kaTuYxLxXQB1SYBGws8naB/PnR3KsfvC3Z96Fxt0hB5qCjKDTYmwUQ0SCw8sCWq Sl7YdWt0A1xLCm6O68asY4KX0SDViT+bafgWg5UcvsvmPrR4+pU9P1xr0ihJg3UYkzaC TE0Rlke5uR3kra/y9rPXlzV0d3FaV5bXrgQN2gUHWoxNHBA9ziJBhVS0/WcfdtZ5B99a FdEYTy9D3elGjUQ8JjaZ2PvUBCTPsFkiyVdRrslbfYkBXMfVLrBLaa7AabuwtIvmBMYJ dArVASoeougA+l09N/7pdgeDXNeFbv6QIIZHu7eStXtS6zJS7G1jvoL9n9363Mn8iX39 m60A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cadence.com header.s=proofpoint header.b=SE2Cl7BK; dkim=pass header.i=@cadence.com header.s=selector2 header.b="KD6S/MNp"; arc=pass (i=1 spf=pass spfdomain=cadence.com dmarc=pass fromdomain=cadence.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cadence.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e4si8669119edn.100.2020.07.13.03.07.21; Mon, 13 Jul 2020 03:07:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cadence.com header.s=proofpoint header.b=SE2Cl7BK; dkim=pass header.i=@cadence.com header.s=selector2 header.b="KD6S/MNp"; arc=pass (i=1 spf=pass spfdomain=cadence.com dmarc=pass fromdomain=cadence.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cadence.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729697AbgGMKGp (ORCPT + 99 others); Mon, 13 Jul 2020 06:06:45 -0400 Received: from mx0b-0014ca01.pphosted.com ([208.86.201.193]:40862 "EHLO mx0a-0014ca01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729680AbgGMKGk (ORCPT ); Mon, 13 Jul 2020 06:06:40 -0400 Received: from pps.filterd (m0042333.ppops.net [127.0.0.1]) by mx0b-0014ca01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06DA2Atj014731; Mon, 13 Jul 2020 03:06:13 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=proofpoint; bh=TDu8WacNDgxsaO4CCdNw1INAvayJRUr/Z+FXhQ/VFtw=; b=SE2Cl7BK/TcSOK/GNQkh4zTJnuSx0jkH7AV2BsKdHry1Fwz4oP3jB7Oa8Vd7ITJtJ725 33mJKE8ImRKLra42LwNRIlV5dY6DKCsuBZkGeZVdbkl3MxX5Dkh6bdE8kwJOAZZ4ch/7 dv+ClLpG/KC9oqwbhTgphIUxoyP1phjJL2a2kTKaAQbUbF9ogkuTJYK7GlhKdd5CTr0L 8ssG/mFaFkpqYnZi808ZhBUo/aZkD9GB3pN1WvvbR4MzWDw0H13pJZIbw3G80a8IsiOZ x8DXlAuxKVFC2bqCZyb55ItKuawhnjp73A04h1tF11x8sMij1Am8DVBJIo4FcHkdJf+v Mg== Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2174.outbound.protection.outlook.com [104.47.56.174]) by mx0b-0014ca01.pphosted.com with ESMTP id 328ftugxdm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jul 2020 03:06:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=edyeHpkL3bR5kdX30mv2X4qFG7MkIokoAQ7JmgNnfB5X68bn8X3Kd5DsFTWwdRhR+kqG29VyVwQ3reFbxMhyvZ42B7V6teJkeQ6jTHHr6DY7eqfPWJE/KoiVUZnqWCHXaSJmnkJgw+Cqd96JCDs5B6tVmPSRRMD5rql+6DTubhs0dVi6kpAD2TewjGvjqn1kPSXpomoO36BuCMy1dZNsGktQpJZdjxNEmYAppKtbhqym1+vHTicey9t7Ym5mJ+p3GHkur0di9ONe/avtHswwVvz9he0xTRDoYHCKg/iBkmJXQ9z7efOdQQLbwDTJ1ZP3UuRE4fx1JdPAwLv90mUZhg== 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=TDu8WacNDgxsaO4CCdNw1INAvayJRUr/Z+FXhQ/VFtw=; b=YQaN4HF/Ppc16xGZsVywwxY3uAObrPxsDRgbKxQNyt4DX8plH3yUzBTj/6tvWJmwwzD5boJe3VweoNDI3ZhSK+clQYQid5YjdP5SvwhoI4SKtaQlwPhL9mo5U1OEejlEmO4R/vgJcg4rM9J0Y8ze1bVHAD1mpCjrCku/UrS1z9VxU55wLXEv0+A+lR+Nbn0WX4gaz8neNippfaHpLuRxZPZqIdwAVqs7sPTyWb6TKYQ+INZ0OiCgfRj9QkPp4Pmlh03y4JnhTQxWs+O300YZKgMX06fmuq1sUcgfZBVedXcSnGZRVuNDnPthih5/jl8mQkXpdWnrZg0L6vSFqvESmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 199.43.4.23) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=cadence.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=cadence.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TDu8WacNDgxsaO4CCdNw1INAvayJRUr/Z+FXhQ/VFtw=; b=KD6S/MNpE9wuoSNZ6ar6dmwLkD91Wdw8hRqqXHMWhS9uZhUIoXBI4rm+0K44KBmJmW/MIzkypXEEN1eD/H2jgbbSD3PHlvby4QTp4dS4SaQ5ahD2a5lN0FsQF13h1TudYBfH1/Auvw2ga5XJsUmO/aw9gBPMAQb7ehG4didMDxo= Received: from DM5PR05CA0012.namprd05.prod.outlook.com (2603:10b6:3:d4::22) by BYAPR07MB4759.namprd07.prod.outlook.com (2603:10b6:a02:f2::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Mon, 13 Jul 2020 10:06:10 +0000 Received: from DM6NAM12FT046.eop-nam12.prod.protection.outlook.com (2603:10b6:3:d4:cafe::6c) by DM5PR05CA0012.outlook.office365.com (2603:10b6:3:d4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.9 via Frontend Transport; Mon, 13 Jul 2020 10:06:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 199.43.4.23) smtp.mailfrom=cadence.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=pass action=none header.from=cadence.com; Received-SPF: Pass (protection.outlook.com: domain of cadence.com designates 199.43.4.23 as permitted sender) receiver=protection.outlook.com; client-ip=199.43.4.23; helo=rmmaillnx1.cadence.com; Received: from rmmaillnx1.cadence.com (199.43.4.23) by DM6NAM12FT046.mail.protection.outlook.com (10.13.178.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.9 via Frontend Transport; Mon, 13 Jul 2020 10:06:10 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by rmmaillnx1.cadence.com (8.14.4/8.14.4) with ESMTP id 06DA63Yr013926 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Mon, 13 Jul 2020 06:06:08 -0400 X-CrossPremisesHeadersFilteredBySendConnector: maileu3.global.cadence.com Received: from maileu3.global.cadence.com (10.160.88.99) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 13 Jul 2020 12:06:03 +0200 Received: from vleu-orange.cadence.com (10.160.88.83) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 13 Jul 2020 12:06:03 +0200 Received: from vleu-orange.cadence.com (localhost.localdomain [127.0.0.1]) by vleu-orange.cadence.com (8.14.4/8.14.4) with ESMTP id 06DA63Oo028637; Mon, 13 Jul 2020 12:06:03 +0200 Received: (from pawell@localhost) by vleu-orange.cadence.com (8.14.4/8.14.4/Submit) id 06DA63LA028636; Mon, 13 Jul 2020 12:06:03 +0200 From: Pawel Laszczak To: , , , , , CC: , , , , , , , Pawel Laszczak Subject: [PATCH v2 3/9] usb: cnds3: drd: deleted != Date: Mon, 13 Jul 2020 12:05:48 +0200 Message-ID: <20200713100554.28530-4-pawell@cadence.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200713100554.28530-1-pawell@cadence.com> References: <20200713100554.28530-1-pawell@cadence.com> MIME-Version: 1.0 Content-Type: text/plain X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:199.43.4.23;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:rmmaillnx1.cadence.com;PTR:InfoDomainNonexistent;CAT:NONE;SFTY:;SFS:(4636009)(346002)(39850400004)(396003)(376002)(136003)(36092001)(46966005)(70586007)(110136005)(70206006)(42186006)(316002)(26005)(2906002)(36756003)(426003)(2616005)(186003)(36906005)(107886003)(6666004)(336012)(82740400003)(8936002)(5660300002)(7416002)(47076004)(356005)(83380400001)(4326008)(86362001)(81166007)(4744005)(8676002)(54906003)(478600001)(1076003)(82310400002);DIR:OUT;SFP:1101; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7a8e6d40-8e0e-48a7-af36-08d827145e14 X-MS-TrafficTypeDiagnostic: BYAPR07MB4759: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2887; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ojE2KTELyCcdyl8z+OroHKdtk+qrE0giolCI/DvdC3STLrstlV+dOQ2O59sW4r5gcFkAQCoAKdp/HVTRclRieHCWvZx7Hxtc/gW0ptB/0CkgCYVekNVEMxG2pZXKeLYMy8y4QdneNjy+jVh/b3Li9lcaL4woQ4ViF5LxIOCEnRGVvRu1Rn/kj/Qg1X6P8xlXV5LuaV0LmDAgKUNROOHTu1Xi/psEeu6JKzJNA3T4QR4Y4+4FpdGn6SfzGR1QyAtuCqsv2YwnXSeI5JweOoOZddL7dAqrKCbeI3/1G2yzfMSt+cjxU69EwkbltfJzTtcHZufNr9zCVuBqtmKBrNdRl0NbMCwzOm5OyQ1UzE5eVv+swoRXIGDPbrx7xOJuK7nCRChfb8vrmIfpNPkr6npzeJzjZBhME1sseRcL7tLUQFI= X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2020 10:06:10.3458 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7a8e6d40-8e0e-48a7-af36-08d827145e14 X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9;Ip=[199.43.4.23];Helo=[rmmaillnx1.cadence.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM12FT046.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4759 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-13_07:2020-07-10,2020-07-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_check_notspam policy=outbound_check score=0 lowpriorityscore=0 suspectscore=0 adultscore=0 spamscore=0 mlxlogscore=787 mlxscore=0 phishscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007130075 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch deletes unnecessary != from condition statement in cdns3_drd_init function. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/drd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/cdns3/drd.c b/drivers/usb/cdns3/drd.c index 4939a568d8a2..6d2da504ad49 100644 --- a/drivers/usb/cdns3/drd.c +++ b/drivers/usb/cdns3/drd.c @@ -365,7 +365,7 @@ int cdns3_drd_init(struct cdns3 *cdns) } state = readl(&cdns->otg_regs->sts); - if (OTGSTS_OTG_NRDY(state) != 0) { + if (OTGSTS_OTG_NRDY(state)) { dev_err(cdns->dev, "Cadence USB3 OTG device not ready\n"); return -ENODEV; } -- 2.17.1