Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp534126pxb; Sat, 21 Aug 2021 09:51:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznO9nw7KyMLMMC6Iuui51TEyHCuOMcWsmV948r78zlHPxd0ljVhK9xve41J4cWe3085/y+ X-Received: by 2002:a17:906:b890:: with SMTP id hb16mr26661078ejb.383.1629564707578; Sat, 21 Aug 2021 09:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629564707; cv=none; d=google.com; s=arc-20160816; b=Vy+AcklYB3Bze9SpWHcoGq7Vs3Z2hZwm90AT3e0209wtPR13szpK0chV3ABhQAwhFi ayAvgHqVieZURsQoDQ7Eh0+QTrqvo25hVLMFzIMtZe+iCUtj4sksXDJB5D0xCTfiVVOv 3+PyGihv0jgBEdwrt+aHacbeHktc4YifI+hZQurODMOdvwOToVSmYtwEcObWtZnwniWG E/M5IC+fTfhc75Rx4wype31+qFum3Ma3UYiT0eI+u/U7G3iL+6KnP/E42lrJ0mC0Hv0R lcIUPvWBnTOPSLaS2M9MVeP0EpSFXv6flEC8L5ogPfeEjYmip0Ktdqv77K462oOZcBTD 2vGw== 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 :message-id:date:subject:cc:to:from; bh=8SH2ZmWJUEAN/oG9SvuidEatjovjIrH+HBR1gFblXtY=; b=p9tWGybnox1LCnbvvr53IuwlsXt8bvc98o+nFFSdvbzZQpJWk1kc8ARYIlBoWcWoGG AiZe3/Jh9fdpY3vP6PBvpaD2vc8JySwh1z+zR+gsbBGmz8JikcLdfLhswGHaoDw2Y8dG PGW6kzXFlxkRcxE/7lZ/TEC+zWzVNvbUNhGmOsjvA4pjNdSaWbDkCtUHJLGwLPvLnBpP UPI1TOeKCi4BTUCYmbRMeOllkNuDiD/lefCBSTG17LIyf6RdP3OEFo5ACayoFA2aMNCI 4HXPN049YAM+b2hGqpvCjIncrXPs051UXWZDuLputxQvoNOgzro4i4lyjt7x9YSCZ4It jtcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si9487368edv.172.2021.08.21.09.51.24; Sat, 21 Aug 2021 09:51:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230511AbhHUQum (ORCPT + 99 others); Sat, 21 Aug 2021 12:50:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbhHUQuj (ORCPT ); Sat, 21 Aug 2021 12:50:39 -0400 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 D3B22C061575 for ; Sat, 21 Aug 2021 09:49:59 -0700 (PDT) Received: from dslb-178-004-175-162.178.004.pools.vodafone-ip.de ([178.4.175.162] 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 1mHUBr-0002Ch-BO; Sat, 21 Aug 2021 18:49:51 +0200 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Dan Carpenter , Michael Straube , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 01/10] staging: r8188eu: remove unnecessary cast Date: Sat, 21 Aug 2021 18:48:50 +0200 Message-Id: <20210821164859.4351-1-martin@kaiser.cx> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org name is a const char * by default. This type should be ok for r8188eu. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/os_dep/usb_intf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/r8188eu/os_dep/usb_intf.c b/drivers/staging/r8188eu/os_dep/usb_intf.c index e002070f7fba..72556ac10d7d 100644 --- a/drivers/staging/r8188eu/os_dep/usb_intf.c +++ b/drivers/staging/r8188eu/os_dep/usb_intf.c @@ -61,7 +61,7 @@ struct rtw_usb_drv { }; static struct rtw_usb_drv rtl8188e_usb_drv = { - .usbdrv.name = (char *)"r8188eu", + .usbdrv.name = "r8188eu", .usbdrv.probe = rtw_drv_init, .usbdrv.disconnect = rtw_dev_remove, .usbdrv.id_table = rtw_usb_id_tbl, -- 2.20.1