From patchwork Sat Oct 22 07:06:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanjuate Brunostar X-Patchwork-Id: 7130 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1086809wrr; Sat, 22 Oct 2022 00:34:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6YFDSPecTHM34wtKi+daHA8obN33TnL6nKr4ncGq6exCRF6rhQ4dDO9bMQUSw87HFyWBiB X-Received: by 2002:a17:90a:7805:b0:20d:4fd9:9a0e with SMTP id w5-20020a17090a780500b0020d4fd99a0emr27085962pjk.169.1666424063302; Sat, 22 Oct 2022 00:34:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666424063; cv=none; d=google.com; s=arc-20160816; b=EBIBDii38duik8BPlOamzAhfQ77BeiprrWl7dlDgIlFI0vGQ1/RMh9qk5cl/ED0/Il +UNUWUoXzLiyet0C5Y/LzPYEpcR3XJVyvh57GFXn8TntgoOsKwhqyp3P7wFCfyv6oU4q FolIqiSREyWhsesY2oU1iOmRLeWU1NkN5wEg1j2b17mjyQH3mglIVlBrbrPSXhRXNOcZ r9i/WC7rFtMO89VZvCjp6FvJrnfMZMpHs5X7tcgQYg5GL6eQEjCqJfaN0Fn9pnaD3/kz hlpl+y0i/35Rl68g3EPD4LskHp+RB/YF8QpYYrC0n5G9jwFfV144uqs4O/DtHMyXpgud MQYQ== 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=z/Jixh+fpGeoRUrSiUP31EewhYoOg//pK7EUFnRWzmw=; b=YR+1gEqfcwqwTNQv09T5Gnjp2BaevxiEUHaFj3GheyfWG3XVjoT8Zf/8IY1XJLcMhz Tzu5UFUZ2yiZIgZazOfqE0+GHXkHYdi7ybdBzlh+oJrxOzr0U69RwwzLQROh0CHim9qH 2NvOYrXPlRcvCL58r23BSDSYj8NSx1MaqODP8oMbMdTap7mbgRGC/J52H7BhExul1HPT isj1wxHfYEEXdWLmY7ytLOJ80KxoJB83Dg5iYgPYKAsSYZEzRAm32RTgXjP+CT2FOAtv 3sOzb+N9eaKHttEOqCXap/jkpZoI5nRPUzsXVsnp98W+Gfdg1aBBxSjnvH2V4Jti557H JJxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=E6LyThuo; 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 oc9-20020a17090b1c0900b001fe2de6a2c9si10858622pjb.4.2022.10.22.00.34.10; Sat, 22 Oct 2022 00:34:23 -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=E6LyThuo; 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 S230160AbiJVHHe (ORCPT + 99 others); Sat, 22 Oct 2022 03:07:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230156AbiJVHHZ (ORCPT ); Sat, 22 Oct 2022 03:07:25 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4756D2AF661 for ; Sat, 22 Oct 2022 00:07:14 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id by36so6492070ljb.4 for ; Sat, 22 Oct 2022 00:07:13 -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=z/Jixh+fpGeoRUrSiUP31EewhYoOg//pK7EUFnRWzmw=; b=E6LyThuoqqIGcCzOD9uvSNSj5QJPyHrtjO57xPt6jnTjmAgIq0ve1Q0XQfOPLmaYrJ +nS9WeAGgmx9KViD7Daa0/n0+Xt4CXYA/nA9X8r1L/R3buraKv3TQ9tLrc+TQTJ3Ojdb O4xJ++ENTE7vKhA01/OG0Fh8pEuarrMqQlu4HG1BUK8tSw2dMKwy5q8jqrjJBSWwfkNM TX47sf0KYRDqY9cR8BMjy6WKPS/z71nw2d1dx8OGwyboLQSMCKtyOStdCd/0i4kxjEtp 7eYQ6Ep6/IukjawdlW3L7Lj4FfarTrux4ln3oZudfQeowX+oO+kSNRpraQqAk/MDSbg/ 5pZQ== 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=z/Jixh+fpGeoRUrSiUP31EewhYoOg//pK7EUFnRWzmw=; b=iEhf7ehmdv1mbIIqdCXs5ubDnjUkDI8M8gcrKVfCglapuigd/zuQi7wniy2uyAr7Hc 1jBoZq4sU+NWPTW06b+wFnfjNLRzGIdeJ26oYLhQd9BY0o8v4RaFDSzNJNx7I5sUGFkc zZQjceiyLcl8WbH/DoaX9pHfuAs9ytvwupB/uq70HN1Je1N7uGbEP+dZ7t2d5mlWe0rA snzyNfoIv6EIfGeRq2Lu++YZ29YbevXdxfkbjTme0nPS0uFaGKvVktip1cOtk+2lxOMc YVsI7ZNKFAbFdezphDj6S6lz81Jq37mb1ZQmdyeeQqUpOdBw1Ww/4IQXTFF9tym+2RLs Ygyg== X-Gm-Message-State: ACrzQf1lGKdaLr0/rpUF5o2Rc52ouZH0ukaNEXIc0ch4NV9+DY/4/gw3 OJnF6fxp+zHc0CvTyUZ4XAE= X-Received: by 2002:a2e:8514:0:b0:274:7384:fc5 with SMTP id j20-20020a2e8514000000b0027473840fc5mr4402354lji.52.1666422432197; Sat, 22 Oct 2022 00:07:12 -0700 (PDT) Received: from elroy-temp-vm.gaiao0uenmiufjlowqgp5yxwdh.gvxx.internal.cloudapp.net ([20.240.130.248]) by smtp.googlemail.com with ESMTPSA id s5-20020a2e1505000000b00276d2537921sm390404ljd.59.2022.10.22.00.07.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Oct 2022 00:07:11 -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 v3 6/6] staging: vt6655: refactor code to avoid a line ending in '(' Date: Sat, 22 Oct 2022 07:06:12 +0000 Message-Id: <20221022070612.13009-7-tanjubrunostar0@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221022070612.13009-1-tanjubrunostar0@gmail.com> References: <20221022070612.13009-1-tanjubrunostar0@gmail.com> 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?1747372278427365693?= X-GMAIL-MSGID: =?utf-8?q?1747372278427365693?= 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 572be45cdbeb..c991619763da 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -1300,10 +1300,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);