Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1308176rwl; Sun, 25 Dec 2022 19:26:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXvMxkJiBfWGXEEZvVMMu9sJ5RiIPxeYyn227NRxD0GBM/SoCUJDCUu1OVTFIcBmOtrLwzx5 X-Received: by 2002:a05:6402:220e:b0:483:a6d8:7ad with SMTP id cq14-20020a056402220e00b00483a6d807admr4335847edb.24.1672025185991; Sun, 25 Dec 2022 19:26:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672025185; cv=none; d=google.com; s=arc-20160816; b=t+UW9lbweoMuUliovMcuBCFH9WDHkCaveF8b3qUHrBMbHp2OwZ85ljY64wJmetAqbY 5MfsoDHVA2z/u6tOx9BUsUhA4hkzAr4HJ/Hl9wShtx/EdnDw4PeY647CZJ8H9U9TDSEA 1LqjEgmIkPMCuXV8pui5CYYAmffdV9hZaBoWnIUtG2v2M4j++g3b7Abdms01dxiNAGH7 qkvKK6xmJYKX2dxq8pVIkhD3smNNfj+1Q5Ogwxxb+9fl3kWWPvYEyEf3wbyeqrP4ZEbt p6FmbhQI1EL0ZSgnUTTSVDHxxOJ1lHqvAad6oc8SUbZxPS98yUYLSECkGtXoNhjGIv+9 xPxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=DP7T39UQlAP48PUn/19evhfHh9poA5snC2vA9pCwqNg=; b=CtNoZ9tJSItjUEeKVJVgR6+jpGUvZMWhyrBoZewN6PpKcDT/wyCPNOqCaN3T4GRgbr AMgecfbXkmWqqd/659halR6H68053pkgpkYaM/Q1FtlDm9OgGSAcyu8g1Ct+IVqOrqv3 OQMU/uDaOKeXrYRDz8HAjC8YhewjnIWxOhZjpFK2q/Cq5vrakdXUVMr3VM4DNROQnHPf JVxvNWTnQm11enbzFriGpX4TxC2B0C5t2O5OEmQp5PBQQP7huR2zzQLQwtPE+YQpK803 8pR7PEmyHZFYF3u5DeFumWjBCtZqD3kHf/yUvRGlcNIfPBUS1W+0fn/YStENrnth/5Op 9XOw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk16-20020a1709077f9000b007808f3f4cbcsi7964504ejc.239.2022.12.25.19.26.10; Sun, 25 Dec 2022 19:26:25 -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 S231441AbiLZDKN (ORCPT + 67 others); Sun, 25 Dec 2022 22:10:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbiLZDKL (ORCPT ); Sun, 25 Dec 2022 22:10:11 -0500 Received: from mail.nfschina.com (unknown [42.101.60.237]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9E912DF0 for ; Sun, 25 Dec 2022 19:10:09 -0800 (PST) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 109581A009D9; Mon, 26 Dec 2022 11:10:15 +0800 (CST) X-Virus-Scanned: amavisd-new at nfs.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (localhost.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P_amldgy5JXR; Mon, 26 Dec 2022 11:10:14 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: chuanjian@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 3102E1A0087E; Mon, 26 Dec 2022 11:10:14 +0800 (CST) From: Dong Chuanjian To: mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Dong Chuanjian Subject: [PATCH] drivers/media/common/siano/smsendian.c : eliminate unnecessary type conversions Date: Mon, 26 Dec 2022 11:10:05 +0800 Message-Id: <20221226031005.5482-1-chuanjian@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE autolearn=no 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 remove unnecessary void* type casting. Signed-off-by: Dong Chuanjian diff --git a/drivers/media/common/siano/smsendian.c b/drivers/media/common/siano/smsendian.c index 8cb8853a1edb..a3573814919b 100644 --- a/drivers/media/common/siano/smsendian.c +++ b/drivers/media/common/siano/smsendian.c @@ -17,7 +17,7 @@ void smsendian_handle_tx_message(void *buffer) { #ifdef __BIG_ENDIAN - struct sms_msg_data *msg = (struct sms_msg_data *)buffer; + struct sms_msg_data *msg = buffer; int i; int msg_words; -- 2.18.2