Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1853797imm; Tue, 2 Oct 2018 15:22:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV60tRicK+vArfHDM2tHR9RQsTYOBV9HJ8UXcnpL9Vic25QP6+SFkmSz0MiQXld2ocTbbflCC X-Received: by 2002:a63:1f0a:: with SMTP id f10-v6mr15984271pgf.313.1538518962212; Tue, 02 Oct 2018 15:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538518962; cv=none; d=google.com; s=arc-20160816; b=RyIyVo2J9D/hf4zI76lLyqYy/Gr4tj6kD6GS4nFuD0sP4XorLd6/DjgTb2+3koTRNg FkWc7oeqw/SW44aFT41P0qSeOCMFq9WBL1bAtEKUDNx1L9wMaqti8wFM7MzHd1H9c5vl V1ZDoD1m6ogLMto27SOv71A+eAlNF8MX4kkrZ863pbBdQa3oRRW44lcVg1IF6NH5ZBid rimmTA5ZZlzACIEvHBaNvsGXu/Ho1d2iuRdBWsss58AnXEImR+SFc1BLylMgqpCEdg3F oorIrirRjmTWMgFPpVpEkRY7Nn6kmrRe/mHRnL7G3znGza3yC1PRtpY1T4Syj1QX+G2a pgqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=qkX23LG+qmb7wQ7fAOJlXBTVW2aVqROCLdrSKayOk8A=; b=0t0nRCXdpNESz3hcPXbfQ8DOIJtGx9tb+b/sdhCNFE4ZgXjmhJnpaKD579U+JHhIo0 EqauP4hUXJSsxgq+tO0m6GWd8b9gvOs/tJS1ejf4MWlccqBTZZfvg3ILwQXAqN1/Uoko L9m7qxnZfgXODCP0BA4GFTDdNBIG7NbwersciBlp+nnndE6I3Q7f/RCM4LBQyGTnfq0l sKbI0rRw1jfCTUY+tzZjOCl1DHq/TNcfm89OsvQ7rnHEQWIcVfB9u7/stGCS1iVUHR6L tB2OWmmBo7/KveKpWgCNRO/3ZsLi0GSn2ByvWzJJgLS0Fgwe5gf2j2aQrOnkPb6th+Wm tkfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=XZEn0oju; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n85-v6si17339575pfj.251.2018.10.02.15.22.27; Tue, 02 Oct 2018 15:22:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=XZEn0oju; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727719AbeJCFF4 (ORCPT + 99 others); Wed, 3 Oct 2018 01:05:56 -0400 Received: from mail-ua1-f74.google.com ([209.85.222.74]:39199 "EHLO mail-ua1-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725198AbeJCFFz (ORCPT ); Wed, 3 Oct 2018 01:05:55 -0400 Received: by mail-ua1-f74.google.com with SMTP id t14-v6so953668uao.6 for ; Tue, 02 Oct 2018 15:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=qkX23LG+qmb7wQ7fAOJlXBTVW2aVqROCLdrSKayOk8A=; b=XZEn0ojufyIyvhJDiC5LpLWtKCG/QWA8PVohRqsWf97J9lj68ZTosekxlWISx0Lf6E Et6lIk7ruMmRqaLEtVSM6fjIbNUDdfKcOw71+518hFRxId1dkXhEQ9rTMhJzvFNUcyvp YqHJ1ZAneZjd6/R+wcQUtczWTMD6Ut5UVNSZB/0Wdq4HiIA100ysxrkJdJ2xYWKn/a2k MdkvlY+Pkx3JWyZ7sdNE3Z8bcJcvSFwVFu8yT4itmDcgCmmehtksXHLWzoxruQyn7Bls G5nWpw0KqwKdq1vHUYL+8L4DRv+UZzHYOT8jWUbQjSK6A92B/AlAUSd8sOUINcfMwh3C 5swg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=qkX23LG+qmb7wQ7fAOJlXBTVW2aVqROCLdrSKayOk8A=; b=qCI0XDvWzzHGql7gDrvK1UI7yc7xK2sR1yN7/z0uYIvLHT2C88JKjSJQobxNzZDmbx F0ehDSf772zozJs+xL47fwvPjfm+41xZ7JMwrOhPB0aHbS1GwMaXdWmLE0EohwDZ1Cdd k34YTzDwsZgSXCCqXVZ6MHdgspUwyZS8iU4Xy0KYNk/Vwq5BysPP5D3fQXUEAzH2MyC/ GtpdLUTAZ5Okp8U8q2ihgUHZ2UbbgMPCZ802V8/t8iqj4hwVh/pr6/IxVAdTOkeaGnLe O4QwKPSJg6ooM3mW5smWVZKlv2vNq4hRDo/OBpyolc762cKKs5orxv/wWcwNkqutGuqT vErg== X-Gm-Message-State: ABuFfogpdNwVtNV63yUcUIN5mh7L5D1q+lmJldjWNssiSFsoz6x7hhVx ert9oZmzJxh+yG3PtjUMVdv8V3sH X-Received: by 2002:a67:e2d3:: with SMTP id i19-v6mr17231204vsm.34.1538518820501; Tue, 02 Oct 2018 15:20:20 -0700 (PDT) Date: Tue, 2 Oct 2018 15:18:53 -0700 In-Reply-To: <20181002221903.19476-1-rkir@google.com> Message-Id: <20181002221903.19476-5-rkir@google.com> Mime-Version: 1.0 References: <20181002221903.19476-1-rkir@google.com> X-Mailer: git-send-email 2.19.0.605.g01d371f741-goog Subject: [PATCH 05/15] platform: goldfish: pipe: Remove redundant casting From: rkir@google.com To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, tkjos@google.com, Roman Kiryanov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Kiryanov This casting is not required. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index c386aaf40034..bc431f04c4cf 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -925,7 +925,7 @@ static int goldfish_pipe_probe(struct platform_device *pdev) * reading device version back: this allows the host implementation to * detect the old driver (if there was no version write before read). */ - writel((u32)PIPE_DRIVER_VERSION, dev->base + PIPE_REG_VERSION); + writel(PIPE_DRIVER_VERSION, dev->base + PIPE_REG_VERSION); dev->version = readl(dev->base + PIPE_REG_VERSION); if (WARN_ON(dev->version < PIPE_CURRENT_DEVICE_VERSION)) return -EINVAL; -- 2.19.0.605.g01d371f741-goog