From patchwork Mon Aug 10 06:12:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 52131 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id 5942D20539 for ; Mon, 10 Aug 2015 06:15:37 +0000 (UTC) Received: by lagz9 with SMTP id z9sf38374681lag.3 for ; Sun, 09 Aug 2015 23:15:36 -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=Mj7/cwZ3GXis7jgO/xYaGF8PGPMJETlBPdN3EliHS0AV9xGID8zWl28uQ6Hv5kb5Fo 1BpcndgYAzDW0C473FrDcRTaa3BhebJTTwuuMEkdVAVzggh3OroF8+KJfWUWIaaVM1mO FstWhXUjc7yK+WmyRzNnKVPIdd40s4ydnAIlDNVOUvdBeSAph7Hx2OD+VSakWSS/aiLC qGr128D2intGjfKGnxtRs5fsCPFPS5tUyRLx2roVtKmnB4eB5uEpiKzcZlO2fFKWVhwt wVZUwuGm0An5nvRiphmo/4QYS9SwDBCf65GN7CR9okYztWBPqz+uvpBteOyapoUJHR5m 5O9g== X-Gm-Message-State: ALoCoQlmGJxsZiaBF6HBKaxvZD6Ui/ulcptEEDfcHytYI2T77uSv5SAZEVJWcxL6PPMeyiJrBui7 X-Received: by 10.113.3.8 with SMTP id bs8mr5842168lbd.23.1439187336277; Sun, 09 Aug 2015 23:15:36 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.25.134 with SMTP id c6ls721009lag.54.gmail; Sun, 09 Aug 2015 23:15:35 -0700 (PDT) X-Received: by 10.112.16.225 with SMTP id j1mr18409363lbd.118.1439187335895; Sun, 09 Aug 2015 23:15:35 -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 v12si4918450lal.86.2015.08.09.23.15.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Aug 2015 23:15:35 -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 lbbtg9 with SMTP id tg9so51448740lbb.1 for ; Sun, 09 Aug 2015 23:15:35 -0700 (PDT) X-Received: by 10.152.164.130 with SMTP id yq2mr12197497lab.76.1439187335583; Sun, 09 Aug 2015 23:15:35 -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 l6csp1739871lba; Sun, 9 Aug 2015 23:15:34 -0700 (PDT) X-Received: by 10.66.90.166 with SMTP id bx6mr3447667pab.133.1439187333757; Sun, 09 Aug 2015 23:15:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si10395550pat.46.2015.08.09.23.15.32; Sun, 09 Aug 2015 23:15:33 -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 S1754053AbbHJGP3 (ORCPT + 28 others); Mon, 10 Aug 2015 02:15:29 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:36369 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752744AbbHJGP0 (ORCPT ); Mon, 10 Aug 2015 02:15:26 -0400 Received: by pacrr5 with SMTP id rr5so96390144pac.3 for ; Sun, 09 Aug 2015 23:15:25 -0700 (PDT) X-Received: by 10.68.203.42 with SMTP id kn10mr41691981pbc.43.1439187325774; Sun, 09 Aug 2015 23:15:25 -0700 (PDT) Received: from localhost ([223.227.137.11]) by smtp.gmail.com with ESMTPSA id fe8sm8400434pab.40.2015.08.09.23.15.22 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 09 Aug 2015 23:15:25 -0700 (PDT) From: Viresh Kumar To: akpm@linux-foundation.org Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, Viresh Kumar , Tejun Heo , Jens Axboe , Vivek Goyal Subject: [PATCH V1 Resend 09/11] blk-cgroup: Drop unlikely before IS_ERR(_OR_NULL) Date: Mon, 10 Aug 2015 11:42:31 +0530 Message-Id: <4f54914e5bd82ad3898e8114a7c394e8b6123f96.1439187003.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.217.174 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. 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);