From patchwork Wed Aug 12 10:29:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 52339 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 18C6022ED0 for ; Wed, 12 Aug 2015 10:31:48 +0000 (UTC) Received: by lbcje9 with SMTP id je9sf4265786lbc.3 for ; Wed, 12 Aug 2015 03:31:47 -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: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=I9tfX3R4W30PFDeDmqeju03Xhqnii73c2JvW5x6QJ8s=; b=UoTkqdEIkFDgXIcjlnQ2lMigsloHqKT6n9qSuatAhyo4czsMRtzOTx7izsavFlkf09 O+plG7q7GCZeQ/F4PUHoJWzxskZBlmNdURifKUxevsQxOrsj/B4tam3b56BCg4Vj04eE LioqGKEJReD/WWqKOUfDK1nM2KGwcNDQTkQOPdzt/Jgmi/n8Nzb/+Viym/B1ouPZORm8 olwfh0j8zZGwLSdcJkpeobs4o6D/PtHlcd9VDJOBBI5nzH0TbdXh3wpk+0/jEkTdnfE9 mnYaHGQnK6LpAUUBhxFeM+YtFns5bzq9MiCgigWyZeacUzga+hVfiZ25gZZY7Lx1reR6 mz/A== X-Gm-Message-State: ALoCoQnQmNCYGWk1lN/lQJuZz7cfytKJHOmLY7o40CmE5Hj4rIBjXWvDj6d/yPRtN11CVtBB6baF X-Received: by 10.180.12.205 with SMTP id a13mr6780405wic.4.1439375507081; Wed, 12 Aug 2015 03:31:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.38 with SMTP id lt6ls27914lac.50.gmail; Wed, 12 Aug 2015 03:31:46 -0700 (PDT) X-Received: by 10.112.167.202 with SMTP id zq10mr12583642lbb.69.1439375506886; Wed, 12 Aug 2015 03:31:46 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id o20si3806456lal.90.2015.08.12.03.31.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Aug 2015 03:31:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by lahi9 with SMTP id i9so6584939lah.2 for ; Wed, 12 Aug 2015 03:31:46 -0700 (PDT) X-Received: by 10.112.125.34 with SMTP id mn2mr28698045lbb.76.1439375506741; Wed, 12 Aug 2015 03:31:46 -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.7.198 with SMTP id l6csp235146lba; Wed, 12 Aug 2015 03:31:45 -0700 (PDT) X-Received: by 10.70.103.10 with SMTP id fs10mr1227576pdb.166.1439375504803; Wed, 12 Aug 2015 03:31:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1si8832524pat.26.2015.08.12.03.31.43; Wed, 12 Aug 2015 03:31:44 -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 S934394AbbHLKbm (ORCPT + 28 others); Wed, 12 Aug 2015 06:31:42 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:36469 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755526AbbHLKal (ORCPT ); Wed, 12 Aug 2015 06:30:41 -0400 Received: by pacrr5 with SMTP id rr5so11945798pac.3 for ; Wed, 12 Aug 2015 03:30:41 -0700 (PDT) X-Received: by 10.68.136.161 with SMTP id qb1mr66612088pbb.19.1439375440971; Wed, 12 Aug 2015 03:30:40 -0700 (PDT) Received: from localhost ([122.171.186.190]) by smtp.gmail.com with ESMTPSA id i10sm5899532pdr.78.2015.08.12.03.30.39 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 12 Aug 2015 03:30:40 -0700 (PDT) From: Viresh Kumar To: trivial@kernel.org Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, Viresh Kumar , Tejun Heo , Jens Axboe , Vivek Goyal Subject: [PATCH V1 Resend 08/10] blk-cgroup: Drop unlikely before IS_ERR(_OR_NULL) Date: Wed, 12 Aug 2015 15:59:45 +0530 Message-Id: <04b292994eed09050b2e4230169bd36081cf2c83.1439375087.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.4.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@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.215.46 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: , List-Help: , List-Archive: List-Unsubscribe: , IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there is no need to do that again from its callers. Drop it. Acked-by: Tejun Heo Signed-off-by: Viresh Kumar --- include/linux/blk-cgroup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/blk-cgroup.h b/include/linux/blk-cgroup.h index 1b62d768c7df..a4cd1641e9e2 100644 --- a/include/linux/blk-cgroup.h +++ b/include/linux/blk-cgroup.h @@ -374,7 +374,7 @@ static inline struct request_list *blk_get_rl(struct request_queue *q, * root_rl in such cases. */ blkg = blkg_lookup_create(blkcg, q); - if (unlikely(IS_ERR(blkg))) + if (IS_ERR(blkg)) goto root_rl; blkg_get(blkg);