From patchwork Fri Oct 21 10:33:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanjuate Brunostar X-Patchwork-Id: 6626 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp621859wrr; Fri, 21 Oct 2022 03:42:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6xSM1vbZtu/d6tut+b4jRtQL55qG6d34xtL8emzlSkbMAhN7mwLCqJdO2WXkqm5AMH38X+ X-Received: by 2002:a17:90b:1e0c:b0:20f:bcbf:ab5 with SMTP id pg12-20020a17090b1e0c00b0020fbcbf0ab5mr19722964pjb.187.1666348930982; Fri, 21 Oct 2022 03:42:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666348930; cv=none; d=google.com; s=arc-20160816; b=0qhMPycWIV/9QRt7UlJ/Vkj29m1Ln+gL0SlocrXw9vPI0X0Q4JsYxrYzseTEUc42WP v8EVgwoTJRgIGPS8FR5furBTsf/wx/WYhvze1TuBMNa2nP1DAsTBZAPUKLmAJtpHjSE1 v5t0NG+DpvD6N2ORqUDn7sA5g3Y8VeShd3IsxWPYSUX+QpOGE6G7evQ/v9NJ8UUxVk2o fsizHXGv73EaSws8YyDyiCVKkNwEcYhOg2vjCJNRZbOcsCv9SnCUeuPZ4S2lB59R4Tm4 RVKXgvCy8o7/eSn+i1oqB97GAChc6q5klqC9s7hixID05NkVZ1NRvz5AIhLTtrL5UljJ tvVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZWh3t522ptergEdRtDg24Vu5gqW3co9XQ8DD7IBqLdo=; b=DP8QaIzt0eJLIwpaW74GFYgn3ZakMsQRX5/+60NF+9w8C3429CLJiKId8+TgXExhYJ MU/iJDkOS1h+GUTVdHDclGU43ZU8WLpWedXL4oKh5nxVwkExv1a7lzvzk3Kx7ZVMG3V6 4idcxUPmOttNjYrVen9HQYHh256LL5aJucMmu9dHuj30SZIQtTtDHRnwxmiSRhZNBXVh syC+YUUIwNhDKuMrDy+oEoqJsx0RYuzeHkBcZ3blcf97FmBujIN37Xe+D5Do3vnI8Ujn CEnIiLZDWbyid8INPNJTBESuvtAMsvyJzh3NhsZV0b098EvX4uAibN282NEi2ud78SOQ CPAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Ayne00Q/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj5-20020a17090b4d8500b0020aaa5f4c89si8682593pjb.148.2022.10.21.03.41.58; Fri, 21 Oct 2022 03:42:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Ayne00Q/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229880AbiJUKe5 (ORCPT + 99 others); Fri, 21 Oct 2022 06:34:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbiJUKev (ORCPT ); Fri, 21 Oct 2022 06:34:51 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD9D21A040 for ; Fri, 21 Oct 2022 03:34:28 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id x18so3146199ljm.1 for ; Fri, 21 Oct 2022 03:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZWh3t522ptergEdRtDg24Vu5gqW3co9XQ8DD7IBqLdo=; b=Ayne00Q/waYSFrW3Y0zxKIZOglh4N8AHXw2NBZq4ILol0bck11j+D2UC31M7jFMS9F PbQ0ORyqtasaYwRUEKF2iDl4B4H0cq3AZ22pSDvP254//UZ4ZfeeorpfMqGLfqvQ//AG dXn7eEXIFbOubGFqGVW3bwg2zv732/0/5dd5FEi1iJpPx5WVN5WXtKd8GIJhCh5JvjUb Wg27zfVib1mPD392i0s3RIzYzRGKnHM/6xlgG648jvC8rWG3gymhYrMgPszyWIxNz5Cn NxOALG5wpRpk7s3GVVP31BK3ywtHjw1dfhOfnP8umuA05lyxceEhpiTyORCPd/MVuWvP oBYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZWh3t522ptergEdRtDg24Vu5gqW3co9XQ8DD7IBqLdo=; b=aMd+7bP1GhTL4nQdzfLNf3lo61Y7kDTudxbmhVkTFPDph2dCsHdPY8lZuCow1sHaIM KBxWfgRQ3AMnGpnwcGbCFNCBnPAAV/+sCIs3DXIRiWaiPTLJfKtq3t90sgUHkI4qWnVT +xf6RdbJz7H47xe6nuICbOTrmYikneH1uI5qzEa2xZUw1tApJ3wXZZ1c2HXGCa7tadqd 6V0cBAXpnEk4oNF7IyP6nlP0O4IWndqrVdY7z4HOe7S862IzNEzRck9NclsE7HK+BOLs /zdFJ0tgRT/PbU44mdKxutSRRTLFHeG5hTcFtuTmXeO3W/u4y2f3t+i4TWV2wHmv9ACi 51FA== X-Gm-Message-State: ACrzQf3PrBqtGIx1Xle6I//BnjFdeW9bL7cTXk7Kgo38uKsNI3pauGWt AmeahsBy61FljVXMyoXvbEo= X-Received: by 2002:a2e:8697:0:b0:26f:b795:8b39 with SMTP id l23-20020a2e8697000000b0026fb7958b39mr6699546lji.218.1666348466460; Fri, 21 Oct 2022 03:34:26 -0700 (PDT) Received: from elroy-temp-vm.gaiao0uenmiufjlowqgp5yxwdh.gvxx.internal.cloudapp.net ([20.240.130.248]) by smtp.googlemail.com with ESMTPSA id u12-20020ac258cc000000b00492d7a7b4e3sm3119775lfo.4.2022.10.21.03.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 03:34:26 -0700 (PDT) From: Tanjuate Brunostar To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Tanjuate Brunostar Subject: [PATCH v2 6/6] staging: vt6655: refactor code to avoid a line ending in '(' Date: Fri, 21 Oct 2022 10:33:10 +0000 Message-Id: <3df55cf2362694891a311692eb63cc19913abf01.1666347511.git.tanjubrunostar0@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747293496311540938?= X-GMAIL-MSGID: =?utf-8?q?1747293496311540938?= join unnecessary split lines to avoid them ending in '(' Signed-off-by: Tanjuate Brunostar --- drivers/staging/vt6655/rxtx.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index b8b21cd39534..d997002ee9ff 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -1301,10 +1301,8 @@ static void vnt_fill_txkey(struct ieee80211_hdr *hdr, u8 *key_buffer, ether_addr_copy(mic_hdr->addr2, hdr->addr2); ether_addr_copy(mic_hdr->addr3, hdr->addr3); - mic_hdr->frame_control = cpu_to_le16( - le16_to_cpu(hdr->frame_control) & 0xc78f); - mic_hdr->seq_ctrl = cpu_to_le16( - le16_to_cpu(hdr->seq_ctrl) & 0xf); + mic_hdr->frame_control = cpu_to_le16(le16_to_cpu(hdr->frame_control) & 0xc78f); + mic_hdr->seq_ctrl = cpu_to_le16(le16_to_cpu(hdr->seq_ctrl) & 0xf); if (ieee80211_has_a4(hdr->frame_control)) ether_addr_copy(mic_hdr->addr4, hdr->addr4);