From patchwork Wed Nov 2 14:08:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanjuate Brunostar X-Patchwork-Id: 14249 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3644228wru; Wed, 2 Nov 2022 07:12:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4421iXbUti6+HAwj+rPDhnejgL9L6FQVD+Yp0U0jPd3J6mdHYgO9UOOrTg71//3DQIjJqi X-Received: by 2002:aa7:864a:0:b0:53f:dcdf:4614 with SMTP id a10-20020aa7864a000000b0053fdcdf4614mr25705712pfo.38.1667398368294; Wed, 02 Nov 2022 07:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667398368; cv=none; d=google.com; s=arc-20160816; b=fcWQFBYyTV0Dp6+GeFW1R8CmbAvOnrdUdXvGm81eUXHwDAwxhccg/hIyTBz53/GowX 3VllzQutQMpXqvEzW5NCpcOQJxQ/qkDWXUWbI33xggXqSk48B7iLIEwJPQ1i53OW1J38 mRAuizn3Monhy8rA4FUTTqHZz8e2sd16BZ/uB1oQjc2QoTqYyQLub+VJFRmqMdRV6wKL Ylea+eG1zsC6HUjAghhj/FjqT8phwlH9MOSYpQyv0hLO8kYUKT1UKR+qc9YGOlFC1J+N KiiZ3/U8UZSQvDXAjYuMyQFEcxKag4klCTkuV4M3+P1MvDx70IHJmSyD6KZQvEbeJbzH Pwjg== 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=vodxGcB9Pfq4inF2n1v2hS81nVigSig+J8tui1TzmuI=; b=HCtBbgJrl7b5fIXsVPnRxrB+wZ6x+lStbPv6C7VYIsH/mLfS/rav5wNEUyVlVjmAOF az8yZqOSB3GMEjj9qjIRq8v2pb6lFbY4WLkPidxdrJ52Km91i53rVElAHR83JoKUtliK rK9bJXHmxEfMT0/Y4ktPBdVnTPVr1cYlTv95ACFq2pIpt4zq55iqTVNgNtWDJ0+PpJSO jn+Q5qgPcMHzvjbsA2MsjwjEBWMlNPwW4FN+hxjdn0EOPKtB8lOJugUgtSHGC5aiyL+V 9HuPr+7pkZcXiMtnMlwzZdEe14ooakXqyXZKyLyVsAM2SmY6u4qXMNMP6A/JN+8isL97 dvsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="e/qJP6e1"; 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 u62-20020a638541000000b004599da2b2bdsi16388222pgd.183.2022.11.02.07.12.35; Wed, 02 Nov 2022 07:12:48 -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="e/qJP6e1"; 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 S231336AbiKBOJU (ORCPT + 99 others); Wed, 2 Nov 2022 10:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231153AbiKBOJQ (ORCPT ); Wed, 2 Nov 2022 10:09:16 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C346657F for ; Wed, 2 Nov 2022 07:09:13 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id g7so28443828lfv.5 for ; Wed, 02 Nov 2022 07:09: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=vodxGcB9Pfq4inF2n1v2hS81nVigSig+J8tui1TzmuI=; b=e/qJP6e1FUzJhEUZWVa0R6rF1rF7EmWXTZq7dzIrJBXev+c2OnbNKAN4SQNPbTiXhC qHaEq/Z2QDmQN2Pq0wQx1IjPmqLTYcGploBQNvY4ogc3fItUA4mGyClW+CCujAqn32ke WJO4MFQNIwHLWla0C4n20iUn7mtuS0BZ9dIsoBoNnkNRgckBkYOdJVZHVHWkKmaGms9s kIXTWqBKPMBC9qlItrMqbjJ00ncyQUHEJnYGRUI+mU7Ms6BXDo+FKHAmaDjjBMkVcRfT VrGxGD5ccRge2Gl9fUvhVIE0CxOwCikcTqVVFKYFQrwM8/Tl1/OvDP7EWUHPHZJzQUgt NamQ== 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=vodxGcB9Pfq4inF2n1v2hS81nVigSig+J8tui1TzmuI=; b=zjTdPL/Y0KapYXXpbAZM7z4ufejMY3DyXd2KDRvpShF3qK2MigvJcGP5O7vKMJKBbg uizEM7TF+r3aNATT5GRbytYyBmonM4uTbyyqL3/1/xO9eV7X52px0RQwBnPCLnVBR4bb dh+eaMTH8Yl6EbBXrd2iC2KugM7aNlMklHIhnOhFOQtIpav67zQJtJ+NFsOQVKlV/O/n UAWYU1rSmH/7EKztl6yBDN+MYbRhjHkq7lnvRf0Cp+GX1PkhuKkatIVV88Yp2SMl+i/n 30Kgi2K8VnkCXappRsucd4/gWDvf/A7BVPuH0kj8HZ26dWL76qWJ3MgvinBLHF260Fm3 WKWg== X-Gm-Message-State: ACrzQf2qEYRCUBlU9nDINK+CYiTmiZXFHB0LU5A2wn5K9wMH+wq06AuG RSatiKER2gQbNTgaeR6Eq8E= X-Received: by 2002:a05:6512:54a:b0:4af:b4ac:c2bb with SMTP id h10-20020a056512054a00b004afb4acc2bbmr9042950lfl.650.1667398151683; Wed, 02 Nov 2022 07:09:11 -0700 (PDT) Received: from elroy-temp-vm.gaiao0uenmiufjlowqgp5yxwdh.gvxx.internal.cloudapp.net ([20.240.130.248]) by smtp.googlemail.com with ESMTPSA id bj12-20020a2eaa8c000000b0026e0434eb1esm119503ljb.67.2022.11.02.07.09.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 07:09: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 V4 1/2] staging: vt6655: change the function name s_vFillRTSHead Date: Wed, 2 Nov 2022 14:08:47 +0000 Message-Id: <5a0649c6019f1717cb2e2e8fc4e262f3747d73a5.1667397591.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?1748393911824348006?= X-GMAIL-MSGID: =?utf-8?q?1748393911824348006?= Remove the use of Hungarian notation, which is not used in the Linux kernel. Reported by checkpatch Signed-off-by: Tanjuate Brunostar --- drivers/staging/vt6655/rxtx.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 31ae99b3cb35..c01fc1a593f3 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -23,7 +23,7 @@ * s_uGetTxRsvTime- get frame reserved time * s_vFillCTSHead- fulfill CTS ctl header * s_vFillFragParameter- Set fragment ctl parameter. - * s_vFillRTSHead- fulfill RTS ctl header + * fill_rts_header- fulfill RTS ctl header * s_vFillTxKey- fulfill tx encrypt key * s_vSWencryption- Software encrypt header * vDMA0_tx_80211- tx 802.11 frame via dma0 @@ -85,15 +85,15 @@ static const unsigned short fb_opt1[2][5] = { #define DATADUR_A_F1 13 /*--------------------- Static Functions --------------------------*/ -static void s_vFillRTSHead(struct vnt_private *pDevice, - unsigned char byPktType, - void *pvRTS, - unsigned int cbFrameLength, - bool bNeedAck, - bool bDisCRC, - struct ieee80211_hdr *hdr, - unsigned short wCurrentRate, - unsigned char byFBOption); +static void fill_rts_head(struct vnt_private *pDevice, + unsigned char byPktType, + void *pvRTS, + unsigned int cbFrameLength, + bool bNeedAck, + bool bDisCRC, + struct ieee80211_hdr *hdr, + unsigned short wCurrentRate, + unsigned char byFBOption); static void s_vGenerateTxParameter(struct vnt_private *pDevice, unsigned char byPktType, @@ -912,7 +912,7 @@ s_vGenerateTxParameter( buf->rrv_time_a = vnt_rxtx_rsvtime_le16(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK); buf->rrv_time_b = vnt_rxtx_rsvtime_le16(pDevice, PK_TYPE_11B, cbFrameSize, pDevice->byTopCCKBasicRate, bNeedACK); - s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); + fill_rts_header(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); } else {/* RTS_needless, PCF mode */ struct vnt_rrv_time_cts *buf = pvRrvTime; @@ -931,7 +931,7 @@ s_vGenerateTxParameter( buf->rrv_time = vnt_rxtx_rsvtime_le16(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK); /* Fill RTS */ - s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); + fill_rts_header(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); } else if (!pvRTS) {/* RTS_needless, non PCF mode */ struct vnt_rrv_time_ab *buf = pvRrvTime; @@ -945,7 +945,7 @@ s_vGenerateTxParameter( buf->rrv_time = vnt_rxtx_rsvtime_le16(pDevice, PK_TYPE_11B, cbFrameSize, wCurrentRate, bNeedACK); /* Fill RTS */ - s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); + fill_rts_header(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); } else { /* RTS_needless, non PCF mode */ struct vnt_rrv_time_ab *buf = pvRrvTime; From patchwork Wed Nov 2 14:08:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanjuate Brunostar X-Patchwork-Id: 14250 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3645578wru; Wed, 2 Nov 2022 07:15:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7xKcc6VnN/dYOamR2PTBjBdM1/pidywD7u8RtsXCOueDJCiwHHWarTplKDfDBG3kqFFLkl X-Received: by 2002:a17:907:78d:b0:740:33e1:998 with SMTP id xd13-20020a170907078d00b0074033e10998mr24302116ejb.162.1667398511346; Wed, 02 Nov 2022 07:15:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667398511; cv=none; d=google.com; s=arc-20160816; b=xC4ig1FoiofgrMoOFxNn30Y6oZZQYuHaWXDG6Zvw7Q892EY8ZOFNyKEFD9AmVA2mTN E/lTzr8K4A6HUMoTTUdfQpCpByTzDslVT7DMOZ7KY5ebjl5HfmY6P93TUs5ydHfW8D/1 5PIAF50zv3Av/RQMY6NWVfcEnp/L2Q7NeE4pr1Er9cRg56fBWMEyU2gcbkhdK+h3zIxU ajEUWK/AQAM+XFD6Cn3aiddlWof+A9wjKGK/Jxf8CiB65oLRypErbl8rduoZrgBOfiUJ JpB1G1XLYeJawuQllSyuEEet+mUJGEGOkc5zqSQwLSjqKFnPfj3g5eWhjeh7QlJge9zk 2uQA== 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=xGATexOV6vnPuB2p8dA7jNyMLlzx3cNJwqnDQnqy0Lw=; b=y2A/a6c4Nxj3JeNxpZI70tpfCxcSpHKNOe0J0r5dUyP59DyrOBYg6+jJrSOSG9aJG1 h2oPwq6aZ6xisyDNIrF/qfPvzbVyiULovfXjIT5kXVX5Ttt4bHw/7AgGDKT89iNc6Mwm OZMCMN2nCXe5qxF+vNSMyawr/WRT/tDHN0t0SuA675Dm4bkO0L9ixyRQoNIo/CozG7y5 sGTnkMw7KXBW8BcpB7AoMo3Op3EjzZKTWKKx1TJrl2b8Sl4sWC001ccKRTV2J5Zpu1c4 voRFPO0gJiHHhCMntXXXHbCO3CDZjtFqyM+Hht4/1HfoPxxDxL5HQogW2WAEVbZQ9Lna W8Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=QWREUQ+M; 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 qw27-20020a1709066a1b00b00787d08d5ff4si16989932ejc.695.2022.11.02.07.14.47; Wed, 02 Nov 2022 07:15:11 -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=QWREUQ+M; 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 S231316AbiKBOJZ (ORCPT + 99 others); Wed, 2 Nov 2022 10:09:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231334AbiKBOJU (ORCPT ); Wed, 2 Nov 2022 10:09:20 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D829D11B for ; Wed, 2 Nov 2022 07:09:18 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id b2so28417678lfp.6 for ; Wed, 02 Nov 2022 07:09:17 -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=xGATexOV6vnPuB2p8dA7jNyMLlzx3cNJwqnDQnqy0Lw=; b=QWREUQ+MIJRrxRHUnzmPUZtlJTHGq5/FaclL+DWpDyQxxqT/i5uu7XBDF76Uu6ajEe mf70HZLIapmkvb4+0bHS/y5X4Kt5QNaT90iNT8cn28CK+wWYVDGLODeERdzPjDn6nH8B xUYbtJoJPPwm6imgVr85phnsbZZk3C8HA9iC4Nj7zscE/OmRpEpJanP2ikBDWsnw9hZs YEQt4G3pLPP444oE9TZgGXFi9iTY9WDNZryx2RPXh52I3SsiCVBOpRoLHitQyCK2DOon OtjJeEIAEk7eCAw3CVyFjTKe9Rm2NWBIbH0HI5ovY68pGGKOF9QZPBgikz9KAmh1lOum iDsA== 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=xGATexOV6vnPuB2p8dA7jNyMLlzx3cNJwqnDQnqy0Lw=; b=p0E8htpetoA9J3QWAZniezrUDMeuyYNNBEdRaztsIzFaE8VTerCI80yQ7xLal3jkNP zj7znMCj39x9jhFJm+cxj6/29eJSEZOfJvo4Ag6NTKPPK482yaDi4tWyNWZOMg60UZzM VuZIGjoLoeWCDgaW48W3A1ps9IMlbEf5KjvZqzS8s5nL+utcFLHDi/q1DkxgGHovNvcL 3HLa8G/2m2wyZ4u7Dj+v0Hl/P5Hljfl91Su1Zul0/cWcpqptaeWEyKO5UEGz4jQsm5fS G5R8P0MgrgBDQAruvwjpt0Th3wDSmafDFHkbKR7jp7KhWTXaEYgl+ifc2KxyEa9xn/Sd j2dA== X-Gm-Message-State: ACrzQf3r/X7irzg/30a7K+GLKgup4SRLZ/mHC+2K64KJDKzgZsqcHCJk SLhj8IPMZ/ChpvBYBJApGHI= X-Received: by 2002:ac2:446b:0:b0:4a2:7e14:933d with SMTP id y11-20020ac2446b000000b004a27e14933dmr9134935lfl.338.1667398156338; Wed, 02 Nov 2022 07:09:16 -0700 (PDT) Received: from elroy-temp-vm.gaiao0uenmiufjlowqgp5yxwdh.gvxx.internal.cloudapp.net ([20.240.130.248]) by smtp.googlemail.com with ESMTPSA id bj12-20020a2eaa8c000000b0026e0434eb1esm119503ljb.67.2022.11.02.07.09.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 07:09:16 -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 V4 2/2] staging: vt6655: Join some lines of code to avoid code lines ending in ( Date: Wed, 2 Nov 2022 14:08:48 +0000 Message-Id: <1026afe9c4c358b7b8a9fac62833ee62d2f4f9b5.1667397591.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?1748394061652187262?= X-GMAIL-MSGID: =?utf-8?q?1748394061652187262?= Fix checkpatch error related to code line ends with a '(', by joining some lines and indenting correctly. This improves visibility Signed-off-by: Tanjuate Brunostar --- drivers/staging/vt6655/rxtx.c | 40 ++++++++++++++++------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index c01fc1a593f3..debc5d5daede 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -85,15 +85,15 @@ static const unsigned short fb_opt1[2][5] = { #define DATADUR_A_F1 13 /*--------------------- Static Functions --------------------------*/ -static void fill_rts_head(struct vnt_private *pDevice, - unsigned char byPktType, - void *pvRTS, - unsigned int cbFrameLength, - bool bNeedAck, - bool bDisCRC, - struct ieee80211_hdr *hdr, - unsigned short wCurrentRate, - unsigned char byFBOption); +static void fill_rts_header(struct vnt_private *pDevice, + unsigned char byPktType, + void *pvRTS, + unsigned int cbFrameLength, + bool bNeedAck, + bool bDisCRC, + struct ieee80211_hdr *hdr, + unsigned short wCurrentRate, + unsigned char byFBOption); static void s_vGenerateTxParameter(struct vnt_private *pDevice, unsigned char byPktType, @@ -555,19 +555,15 @@ s_uFillDataHead( return buf->duration; } -static -void -s_vFillRTSHead( - struct vnt_private *pDevice, - unsigned char byPktType, - void *pvRTS, - unsigned int cbFrameLength, - bool bNeedAck, - bool bDisCRC, - struct ieee80211_hdr *hdr, - unsigned short wCurrentRate, - unsigned char byFBOption -) +static void fill_rts_header(struct vnt_private *pDevice, + unsigned char byPktType, + void *pvRTS, + unsigned int cbFrameLength, + bool bNeedAck, + bool bDisCRC, + struct ieee80211_hdr *hdr, + unsigned short wCurrentRate, + unsigned char byFBOption) { unsigned int uRTSFrameLen = 20;