From patchwork Thu Apr 13 09:15:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 97358 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp630707qgf; Thu, 13 Apr 2017 02:16:56 -0700 (PDT) X-Received: by 10.84.209.167 with SMTP id y36mr2886150plh.78.1492075016361; Thu, 13 Apr 2017 02:16:56 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i35si23381478plg.145.2017.04.13.02.16.56; Thu, 13 Apr 2017 02:16:56 -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=@linaro.org; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756299AbdDMJQx (ORCPT + 13 others); Thu, 13 Apr 2017 05:16:53 -0400 Received: from mail-pg0-f46.google.com ([74.125.83.46]:34249 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274AbdDMJQt (ORCPT ); Thu, 13 Apr 2017 05:16:49 -0400 Received: by mail-pg0-f46.google.com with SMTP id 21so27914565pgg.1 for ; Thu, 13 Apr 2017 02:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=028nUGqboXnRZDsrV4DzAXA6KW8rKxOfE0D38USXJr8=; b=C0WGpGqZqe2ZTI9uSkuaYffMrlx5Q/YeOmq0MgEtIGMeBIJOQ7+ugIblSQ8bbojmoz ESf32psY52+JFI0yHxTYHC4pddU2vYhQtZCJb7b875rLJ39nOm1j/aidvcqLmo3z2aI9 v/WKhsKeMGUkcS9l7c/HcJTmmdJ2dEWScmhUg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=028nUGqboXnRZDsrV4DzAXA6KW8rKxOfE0D38USXJr8=; b=eIupPgWxfILrrhPu1LSuepmXbONJ+J75PuA+JHskpuJOAkIN36Fhua/0UvX+NjZUzB S3vO8QyvtM1GZFKpLbeoMdj+SwJO31wKaE2b8r8Ull1/fir+TRwBhkNLbUwBJLDGBzmU JqvZIBw62MB2uET4bBlN2qSbABR7XwE8e0lHeHmWAjCB0IIdZtPh2beif6kT7OsoDfVx /OSqL90eg3bzQra/Nblx3XuJ2RcCDDv2zFx9YK46atGB+DM2jGOLDezr5XjkruaGKl5V /aPh3U2gi+Vy9DrBwZgn35nd20DpXEBw1/dS66zdJyKPpqUjeNKMaCBvbjAqb59fp3zC CQjA== X-Gm-Message-State: AN3rC/4tB05X71FqNM83qtrGNH2tnmuJLBsc+v9teW2tKS8NWGRHsCyo DAtOmtYeTFlJ5ATb X-Received: by 10.84.248.74 with SMTP id e10mr2944097pln.76.1492075009232; Thu, 13 Apr 2017 02:16:49 -0700 (PDT) Received: from localhost ([122.172.121.5]) by smtp.gmail.com with ESMTPSA id m194sm41293469pga.62.2017.04.13.02.16.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Apr 2017 02:16:48 -0700 (PDT) From: Viresh Kumar To: Ingo Molnar , Peter Zijlstra Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, Vincent Guittot , Viresh Kumar Subject: [PATCH V2 0/3] sched: Minor cleanups Date: Thu, 13 Apr 2017 14:45:47 +0530 Message-Id: X-Mailer: git-send-email 2.12.0.432.g71c3a4f4ba37 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Avoid reinitializing memory which is already set to zero. V1->V2: - Don't remove field initializers from 2nd and 3rd patch. - Drop 4th patch (sched: core: drop useless expression from sched_init()). -- viresh Viresh Kumar (3): sched: topology: drop memset() from init_rootdomain() sched: cpudeadline: don't re-initialize struct cpudl sched: cpupri: don't re-initialize struct cpupri kernel/sched/cpudeadline.c | 1 - kernel/sched/cpupri.c | 2 -- kernel/sched/topology.c | 4 +--- 3 files changed, 1 insertion(+), 6 deletions(-) -- 2.12.0.432.g71c3a4f4ba37