From patchwork Sun Nov 6 12:48:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 16128 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1477154wru; Sun, 6 Nov 2022 04:51:46 -0800 (PST) X-Google-Smtp-Source: AMsMyM4Unrj1FgEaArNFPEyNpfc4Hsnwp9fjph+Pp5zNY6nsonewNPBuBZ93I3cyE0CvNB5bdPks X-Received: by 2002:a17:906:1f48:b0:7ae:77d:bac with SMTP id d8-20020a1709061f4800b007ae077d0bacmr22362609ejk.708.1667739106778; Sun, 06 Nov 2022 04:51:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667739106; cv=none; d=google.com; s=arc-20160816; b=vytT8Q3OefdV+Gnw0UftgPdygut70wVEK3wY8J4fUDhJ5d6eebEFKwhJLoYsc2V4vL mNVpit9m3/NigQvn6rFBiYSxNegtllUX2eBJpHYyhvbxqfqn7TrpPp8bYaFm7KMrR7k1 Q3hsBrtnfPxUUpljrzO2QuFgXlWQxvAOIbV4HDjujLKDXvJx+9EYbUNxSgxgqYzBhUHD TqiGBnxqK8tdB6Agc1Ja2tpAMwA6WODA/+bHf/4lar1FfvCYwF2xYELpgqhwQw1pzAOZ pL3s6e+6nRmuDGOISYfIQiX4xL67b57dIN0fuSRuWqfuXfY3h8tqj+aOMSrVyQDc/3YK DPfQ== 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; bh=khBWJbFKun1ANwf8WynCrKyBwbPvyVgfniMf/+q+o6E=; b=DYXfjahP2A+tLYA6Kvw6PkM8ohUku76TmiuQvVDKZVDihVsAfrxZiJzSV5GngjZ8cO 7tSXSwKGRiO99IyXvIjqPt0HfSqFYESbaB/qU2BwdejUyZvait7xnajlufdxn35dSLKT QoDb81S1CTIu1dzWT1ju7LZVsZkeBPRhTB4rRLFsAgqgHE89+AwxPXn33rmqLzTPRHDd 4q5PQxlNBgqDrGFAeRS1PwG9oxOfa8Rjwv3irNNblLxC+/RpFDe0vrNZSelGqVUZyY82 T/flmtdsEbqmo5qELR8YJZ0LjIkncuSvjeTNMB/XXI/6d+HHQGBE6S6OCYcCRF1/OuYc suwg== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b23-20020aa7cd17000000b004588172def1si4899542edw.410.2022.11.06.04.51.23; Sun, 06 Nov 2022 04:51:46 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229993AbiKFMtY (ORCPT + 99 others); Sun, 6 Nov 2022 07:49:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbiKFMtR (ORCPT ); Sun, 6 Nov 2022 07:49:17 -0500 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A7BB64D8 for ; Sun, 6 Nov 2022 04:49:16 -0800 (PST) Received: from ipservice-092-217-068-220.092.217.pools.vodafone-ip.de ([92.217.68.220] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1orf5L-0008Dj-A1; Sun, 06 Nov 2022 13:49:11 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 4/9] staging: r8188eu: reformat a function header Date: Sun, 6 Nov 2022 13:48:56 +0100 Message-Id: <20221106124901.720785-5-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221106124901.720785-1-martin@kaiser.cx> References: <20221106124901.720785-1-martin@kaiser.cx> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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?1748751201364997331?= X-GMAIL-MSGID: =?utf-8?q?1748751201364997331?= The definition of Hal_EfuseParseIDCode88E can be a single line. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/hal/rtl8188e_hal_init.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c index cc29963f4b49..73855bca76fe 100644 --- a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c +++ b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c @@ -676,11 +676,7 @@ s32 InitLLTTable(struct adapter *padapter, u8 txpktbuf_bndy) return status; } -void -Hal_EfuseParseIDCode88E( - struct adapter *padapter, - u8 *hwinfo - ) +void Hal_EfuseParseIDCode88E(struct adapter *padapter, u8 *hwinfo) { struct eeprom_priv *pEEPROM = &padapter->eeprompriv; struct net_device *netdev = padapter->pnetdev;