Message ID | 1445288368-6440-4-git-send-email-daniel.lezcano@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDIYTLXUW4BRBXFTSWYQKGQEAMIX3AA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by patches.linaro.org (Postfix) with ESMTPS id 4BF2922F11 for <linaro@patches.linaro.org>; Mon, 19 Oct 2015 21:00:14 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf50272101lbc.1 for <linaro@patches.linaro.org>; Mon, 19 Oct 2015 14:00:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=2rb2bJUa0tAEER7cm4eNUcaxfX/V8S1c3CJI2tAhT10=; b=FdZoXMIiaBk6/gKJCyGDmY0hv1N3r28JRpqSS5JatgndHSpJx2Kj2X3D58/rm8JpPC OQurLsExeB7Zn7JyUsGMhbkFqZD0nCXtgBFd5RCvEJaCwkKT8GDEX7LSLxTED6tWkeVY DNloJ4wY6JSw3v2D2pSL7pgTvsUucvQhYOUu2UqeW8EOYZfo86PIQd91S7ayaQi4cQ7A 9Dq+xQKsfjCY+dPQH9HgBtKWgLgyEQXYhnT6Lll64tO+G25AqIRGkf2YOcevNQokm/a5 4yxRC+vfJrX7CCmTD9f08RODoTMsSpPKhHos4sueFoLGiyD2RY1YLU9A0hqeLkrVuXyC AGcA== X-Gm-Message-State: ALoCoQmJ//ELu7wkX2UCJ2yQSyUJA8DNuCayV+WjGzP/thrIfI26V4KAI5X6LRqz9zY6Bn2F268s X-Received: by 10.112.142.195 with SMTP id ry3mr7259515lbb.22.1445288412782; Mon, 19 Oct 2015 14:00:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.86.70 with SMTP id k67ls655190lfb.43.gmail; Mon, 19 Oct 2015 14:00:12 -0700 (PDT) X-Received: by 10.112.146.104 with SMTP id tb8mr16075964lbb.35.1445288412609; Mon, 19 Oct 2015 14:00:12 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id q132si24274179lfe.170.2015.10.19.14.00.12 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Oct 2015 14:00:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbbes7 with SMTP id es7so67150409lbb.2 for <patchwork-forward@linaro.org>; Mon, 19 Oct 2015 14:00:12 -0700 (PDT) X-Received: by 10.112.151.106 with SMTP id up10mr16227304lbb.106.1445288412502; Mon, 19 Oct 2015 14:00:12 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1696854lbq; Mon, 19 Oct 2015 14:00:11 -0700 (PDT) X-Received: by 10.68.222.163 with SMTP id qn3mr37264332pbc.54.1445288411285; Mon, 19 Oct 2015 14:00:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xi10si55316517pab.18.2015.10.19.14.00.10; Mon, 19 Oct 2015 14:00:11 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932065AbbJSVAF (ORCPT <rfc822;pingbo.wen@linaro.org> + 28 others); Mon, 19 Oct 2015 17:00:05 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:38747 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753801AbbJSVAA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Oct 2015 17:00:00 -0400 Received: by wicll6 with SMTP id ll6so369520wic.1 for <linux-kernel@vger.kernel.org>; Mon, 19 Oct 2015 13:59:59 -0700 (PDT) X-Received: by 10.180.211.176 with SMTP id nd16mr23741223wic.83.1445288399101; Mon, 19 Oct 2015 13:59:59 -0700 (PDT) Received: from mai.telefonica.net (185.Red-213-96-199.staticIP.rima-tde.net. [213.96.199.185]) by smtp.gmail.com with ESMTPSA id xt1sm42296501wjb.32.2015.10.19.13.59.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Oct 2015 13:59:58 -0700 (PDT) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, Alexey Klimov <alexey.klimov@linaro.org> Subject: [PATCH 4/9] clocksource/drivers/sh_cmt: Remove unneeded memset() in sh_cmt_setup() Date: Mon, 19 Oct 2015 22:59:23 +0200 Message-Id: <1445288368-6440-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445288368-6440-1-git-send-email-daniel.lezcano@linaro.org> References: <56255943.6060807@linaro.org> <1445288368-6440-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index ba73a6e..103c493 100644 --- a/drivers/clocksource/sh_cmt.c +++ b/drivers/clocksource/sh_cmt.c @@ -962,7 +962,6 @@ static int sh_cmt_setup(struct sh_cmt_device *cmt, struct platform_device *pdev) unsigned int i; int ret; - memset(cmt, 0, sizeof(*cmt)); cmt->pdev = pdev; raw_spin_lock_init(&cmt->lock);