From patchwork Tue May 23 13:19:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dupuis, Chad" X-Patchwork-Id: 9742567 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3224B6032C for ; Tue, 23 May 2017 13:20:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21014287B7 for ; Tue, 23 May 2017 13:20:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 15A66287D7; Tue, 23 May 2017 13:20:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B6AF287E0 for ; Tue, 23 May 2017 13:20:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935145AbdEWNUO (ORCPT ); Tue, 23 May 2017 09:20:14 -0400 Received: from mail-by2nam01on0086.outbound.protection.outlook.com ([104.47.34.86]:9184 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933347AbdEWNTx (ORCPT ); Tue, 23 May 2017 09:19:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sM1QwcRBAeLBrhN2z76WjnMCmwkNJgWNxrm5APfcPYM=; b=j4vjcnyqcLLzgi0lrYcRVEDTkPZV7h5QVVjAkY/nnbSaR6/cddA48EH5PrK8sJr0h/Vg+hTt6hTwtJGO5e8JxepwCHAFgOmrkSDJyPAjBSOPTSX1GiHGub5//XrRzmRDB23yJWt1BTWtXfsfGsGt73M2BG7lmu9Se+vhaNLvZYI= Received: from CO2PR07CA0055.namprd07.prod.outlook.com (2603:10b6:100::23) by CO1PR07MB426.namprd07.prod.outlook.com (2a01:111:e400:103d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Tue, 23 May 2017 13:19:51 +0000 Received: from BN1AFFO11FD028.protection.gbl (2a01:111:f400:7c10::166) by CO2PR07CA0055.outlook.office365.com (2603:10b6:100::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Tue, 23 May 2017 13:19:51 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; oracle.com; dkim=none (message not signed) header.d=none; oracle.com; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1AFFO11FD028.mail.protection.outlook.com (10.58.52.88) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1075.5 via Frontend Transport; Tue, 23 May 2017 13:19:50 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Tue, 23 May 2017 06:19:39 -0700 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id v4NDJdwZ001864; Tue, 23 May 2017 06:19:39 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v4NDJdd6001863; Tue, 23 May 2017 06:19:39 -0700 From: "Dupuis, Chad" To: CC: , , Subject: [PATCH 11/15] qedf: Fixup unnecessary paratheses around test_bit operations. Date: Tue, 23 May 2017 06:19:27 -0700 Message-ID: <20170523131931.1777-12-chad.dupuis@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170523131931.1777-1-chad.dupuis@cavium.com> References: <20170523131931.1777-1-chad.dupuis@cavium.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39850400002)(39840400002)(39450400003)(39400400002)(39410400002)(2980300002)(428002)(199003)(189002)(9170700003)(54906002)(48376002)(478600001)(47776003)(110136004)(50466002)(107886003)(38730400002)(76176999)(72206003)(50986999)(36756003)(33646002)(2351001)(6916009)(2950100002)(6666003)(189998001)(5003940100001)(101416001)(106466001)(105586002)(42186005)(1076002)(80596001)(50226002)(8936002)(4326008)(356003)(81166006)(2906002)(5660300001)(86362001)(8676002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:CO1PR07MB426; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD028; 1:FOud5NRXf5WY5aX+dTsTZ282sQHfkk2fvw2hiBj745xRDj7H2LEwwUNJeLD4nUgfvd7sz5MdHwQHfUuLKcqEqPZ5cgM7jG2lekJ4/WLaIO/z8auozAhGf5zD/VmeT3cD16dIuS1bOD1sSrthu10THEBjtodh+a9L0w3ObGcf9b1/vYr/K8yg/NDCDp0x5tFJQVrAp3H8FcoZDgDWvIpL/0B3YYxans83svoOgWDK/b9SL4EzLRQrds4M6gRF+SP0MQJC0KyFNqwpD9PYZOGact5hUuyLR3kqPFCywLsdQUSNLsmoFmZUSjBrVvdYA5E2t0rXDK7JXv777yc+wcMFFJp9Oicc6gMkjHTtvU0CsP1DXeasxtPFC3NN4mH5BSztdkDzcWMSfOT+Z0HzaEUj6xzyI3sue08yz9c2k46EOO2Batg4Q62NWmq8nfrcABEA5kHX61pOFroBlB6CQOFKOtjUvDQpqx+vE1JQMU9AVGwJkza+q1b5TuVoESTc3BBY+mdUvlClEyo17tGvh3aGzQ== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR07MB426: X-MS-Office365-Filtering-Correlation-Id: 0f9e69cc-f92f-4481-7ce4-08d4a1de6499 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:CO1PR07MB426; X-Microsoft-Exchange-Diagnostics: 1; CO1PR07MB426; 3:07MV7AnJ5o2j37wHZa7e0z93pWjV4uiWVf+9Yr7ZLdKx4gUJmF2CTv5QHEcOiqEAloZbsRF5E0qNRvEHcpid+10oTjYkC/rfnsebTVOUhQCaGvTdGyBqu4ZN+cjmMURYJe2USBjrPk4LWan65tO/ohQnV1pTL8fkPKeym8Dfy+lunh+S676knzpWhE3bWYjojc8o1YGlXOFGRZP7YZJ5cqlDGHtKHWf+sOXuw7CuJvao73czPvLc+NwhxZ+nYg2OcgtOwvtbGIXG8aHWEDq2NCOrqNYmtD79PMaP1w0Oo4p2osXYWNINhBGvGQPPN3LylM1De62FdDZ7hloWsjorEtqPVUiC94NUHMLwh/rrqozm7wHyaQLQoXho+Md/J4r23ftV/Ryi1Cbu1GdLtaYmGMct/aNbPVgahgTTt2pGVH2pbMLdhL0bSfeC1gfz4T2L6/pgJ9jrLySXC5p66RsIdw== X-Microsoft-Exchange-Diagnostics: 1; CO1PR07MB426; 25:wcGSt5dUvUlgZ6y7UJ/5wwk9a7HXhpA5j38pTn1lCvHOMfRRoud8zI9ZxbJRNH0Uk2ESfffah6CHzxhQRDG3RlopgSMbTd5FB53XNlSwRu1TH2DVDwwt1iB7x9Cf0QONnpZ9cmpGBwfO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J7+LM5ygr/hX71ZptdegLpkkN7tGRX9krOCLj6rCuFHwVwYXC/sQqyuB5pAMb2MhEv9nmkFpD1cGwBYknXq9nJtOaP+1T2kt3QhwxZYUGBTzAmBYD X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(13018025)(13015025)(13017025)(13023025)(13024025)(10201501046)(93006095)(93001095)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(20161123558100)(20161123564025)(20161123562025)(6072148); SRVR:CO1PR07MB426; BCL:0; PCL:0; RULEID:; SRVR:CO1PR07MB426; X-Microsoft-Exchange-Diagnostics: 1; CO1PR07MB426; 4:DxewjfjE4x30iGBcdJH78c9ZcIJDO8NpG0hPm0OXZJC7H1bafmfes40MxaKApzM6hwc4xg/wK7TmOm/NImdfRkFnZcdwtCoraucQwjod5c9bcGTeqN0hS2IxNqv60Tqg02dvttepCDkUWjGTVDc2cOdnrGWkVSYNzEhSAmVNwuFIaORqwjG7XKEbPdSHUXYhq9zOzu5O1LyigLhbAkarvFKGB0x0n8VLgRRwhTv8r2iWpf/AeQlduM/CcNudN8w9nw07I+QqAdop1R9y6Gd/tQxyt/lIsb3xaXXW3iDaPloPWo5R9Na60XVAcLS5gZV2JSVk4YxmhzqSiGsMbCswqGp1OfoLjNjqEI/btaMs7d5MzhsD+7OzwxScCFf1RE+iGfujl/Qmmkz1L3eDVpOFN08hhNLsahwUCe7r+92n9w4MAkLvir0U5w6BtjJvza/RH1/TM2KDQ+cG9RpW9/wgQ+W53kdm7mB7gdHCKurcx5GVD8XM4HOYXyHa7TSIpOkItHS71LnFnpuxAAgMHvQTOX2UMGgo/WtD6p9QnQOZMkr8FJfM61cb3mEI9SHQJQ6s1TkjPEW0UThV9/b9llpFW2WJ/BNkirIG+WoVigl7C+W6kWAmcR63Lt+bQvR7DVb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3gIK42hktDyZJ7CAYL4VVYQQjuCOZxnNBtxr4aNEAVp0ezOOkYX8pYVHyubydlZv/XOVc6IB7KYQEkP/cZlCkCREaOFClc5iu/ufNTYapyTO9G4o9zozJRsasUyNpG1tgwbgWPJFH+UD6iWfgkxz6auKdl2KTPebVQdFiEsEusAxfm+Iig2lsKiMkd3WcrxKxbj4gRDiOO2O; 5:xaqIoYlmtX6C15V2vsO94u/C1YmOCMFStecL4Kg8bE0KJUNGugFSTgiEyPE3Hj/5WOU1sNpH0IMEsgeeSjftsTXmbiV6wYBoF32UXZDKjYeyEdxh4w5i3CCh3yaB3RdLbabrzWTHEfYMdEFuwvHMBg==; 24:fYG1xQlVA1aXI+jiDsd2N5iDdGQCeflQ07PPJGFlpD5zFM65kmf5TAgTeaCB8MAp2QHiyJNufkwIWyDWBVi7x/V4WTtUz6VucY5WlG5AYUE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO1PR07MB426; 7:DqRvSpLRrg/3DHxAOaEcQ1gMRFSqGL6PZKDISdo47YZ9dFI060XNa2px39yufuv/D1TIJmi1NFKgxMDKpy10SJWD06G7W/JVGJ8o+dVlI91ooDp5czVvB2sfo9YTA+tmuC7rjhSP2Wyl8PQ48147pH7GsWEwMu/hKHuJ6aoulIjItyT5PkUwFcEWaul7o/OZxU3KniBVFZbHCBdV8ccIu2u0nIFkcYsXl0LnqA8UyAhgMjOc5hZs3NUdrOI68hH5NtIL92HH7acqG2sLKGiG2NCyDO0EAiibhJtAdx/jp+ztq2i4DQ0iFpfOyyBYmXTcyMxrurBs0WudEDJUhEFEcw== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2017 13:19:50.5242 (UTC) X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR07MB426 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Chad Dupuis Reviewed-by: Bart Van Assche --- drivers/scsi/qedf/qedf_els.c | 6 +++--- drivers/scsi/qedf/qedf_io.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/qedf/qedf_els.c b/drivers/scsi/qedf/qedf_els.c index e197fd6..78d9f1c 100644 --- a/drivers/scsi/qedf/qedf_els.c +++ b/drivers/scsi/qedf/qedf_els.c @@ -44,7 +44,7 @@ static int qedf_initiate_els(struct qedf_rport *fcport, unsigned int op, goto els_err; } - if (!(test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags))) { + if (!test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags)) { QEDF_ERR(&(qedf->dbg_ctx), "els 0x%x: fcport not ready\n", op); rc = -EINVAL; goto els_err; @@ -225,7 +225,7 @@ int qedf_send_rrq(struct qedf_ioreq *aborted_io_req) fcport = aborted_io_req->fcport; /* Check that fcport is still offloaded */ - if (!(test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags))) { + if (!test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags)) { QEDF_ERR(NULL, "fcport is no longer offloaded.\n"); return -EINVAL; } @@ -550,7 +550,7 @@ static int qedf_send_srr(struct qedf_ioreq *orig_io_req, u32 offset, u8 r_ctl) fcport = orig_io_req->fcport; /* Check that fcport is still offloaded */ - if (!(test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags))) { + if (!test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags)) { QEDF_ERR(NULL, "fcport is no longer offloaded.\n"); return -EINVAL; } diff --git a/drivers/scsi/qedf/qedf_io.c b/drivers/scsi/qedf/qedf_io.c index db16004..ea37c78 100644 --- a/drivers/scsi/qedf/qedf_io.c +++ b/drivers/scsi/qedf/qedf_io.c @@ -1847,7 +1847,7 @@ static int qedf_execute_tmf(struct qedf_rport *fcport, struct scsi_cmnd *sc_cmd, return FAILED; } - if (!(test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags))) { + if (!test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags)) { QEDF_ERR(&(qedf->dbg_ctx), "fcport not offloaded\n"); rc = FAILED; return FAILED;