From patchwork Fri Jul 31 08:38:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 51757 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id EC7E922A8D for ; Fri, 31 Jul 2015 08:41:04 +0000 (UTC) Received: by lbbyj8 with SMTP id yj8sf2365805lbb.3 for ; Fri, 31 Jul 2015 01:41:03 -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=icOPjLdrQq82vIZfhc5ecilf1L+UX3xC0V+1NKmKb/4=; b=Fi8OG0JaYi9A4G4lD7ymjJSbBa2fo5/4hgtKkjdxKKGW173VW/GFfE9/q6P+A1Chec Y+P207UvixdD7AleaFLcwUS90+cRRTjwKkAkxWuU42KcnqD4myI+7zd5nNgMcu+9SoAC CouwMNbrS6Qeyp41/PT6Vyj+oS7KRYcM24jT+6+VcEGx16oKq37v61XgpNnnU42tAebf dkI8zPL8URFKRFJ73KhdDjQ3+KMD2AbmVoKT2JdW6PAVsnUbfX1Ram3tPSJBNiRPcI7Y nMwhBUdG7ipMQ3ll2JcMYbFURHhAebyAgcnwxOJVTa6gMstVRC2u8yyFn5oGIsf/s5oq soKA== X-Gm-Message-State: ALoCoQnMB33SPAs610sXc1/oxPXt/SvOQFvrMbO6fOPBw1nYCfrHXmcc+kzim1K4Uhpuxkc/D6nT X-Received: by 10.180.83.33 with SMTP id n1mr811539wiy.4.1438332063938; Fri, 31 Jul 2015 01:41:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.101 with SMTP id s5ls287212lag.108.gmail; Fri, 31 Jul 2015 01:41:03 -0700 (PDT) X-Received: by 10.153.7.137 with SMTP id dc9mr1631231lad.16.1438332063745; Fri, 31 Jul 2015 01:41:03 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id t6si2973386lae.163.2015.07.31.01.41.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Jul 2015 01:41:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lblf12 with SMTP id f12so42177647lbl.2 for ; Fri, 31 Jul 2015 01:41:03 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr1570744lbc.41.1438332063536; Fri, 31 Jul 2015 01:41:03 -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 l6csp228015lba; Fri, 31 Jul 2015 01:41:01 -0700 (PDT) X-Received: by 10.70.44.199 with SMTP id g7mr4459919pdm.152.1438332060970; Fri, 31 Jul 2015 01:41:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg16si8781973pdb.143.2015.07.31.01.40.59; Fri, 31 Jul 2015 01:41:00 -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 S1753301AbbGaIk4 (ORCPT + 28 others); Fri, 31 Jul 2015 04:40:56 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:34571 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753224AbbGaIkw (ORCPT ); Fri, 31 Jul 2015 04:40:52 -0400 Received: by pacan13 with SMTP id an13so38247817pac.1 for ; Fri, 31 Jul 2015 01:40:51 -0700 (PDT) X-Received: by 10.66.222.41 with SMTP id qj9mr4415654pac.139.1438332051715; Fri, 31 Jul 2015 01:40:51 -0700 (PDT) Received: from localhost ([122.171.186.190]) by smtp.gmail.com with ESMTPSA id cl15sm6289865pdb.27.2015.07.31.01.40.50 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 31 Jul 2015 01:40:51 -0700 (PDT) From: Viresh Kumar To: akpm@linux-foundation.org Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, Viresh Kumar , Jens Axboe , Tejun Heo , Vivek Goyal Subject: [PATCH 13/15] blk-cgroup: Drop unlikely before IS_ERR(_OR_NULL) Date: Fri, 31 Jul 2015 14:08:33 +0530 Message-Id: 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.217.172 as permitted sender) smtp.mail=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. 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);