From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753307AbdHKRd6 (ORCPT ); Fri, 11 Aug 2017 13:33:58 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:37735 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752850AbdHKRd4 (ORCPT ); Fri, 11 Aug 2017 13:33:56 -0400 Date: Fri, 11 Aug 2017 10:33:52 -0700 From: Tejun Heo To: Dan Carpenter Cc: Roman Gushchin , Zefan Li , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] cgroup: remove unneeded checks Message-ID: <20170811173352.GE3005423@devbig577.frc2.facebook.com> References: <20170809102521.pizo5vlqhb5unrin@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170809102521.pizo5vlqhb5unrin@mwanda> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 09, 2017 at 01:25:21PM +0300, Dan Carpenter wrote: > "descendants" and "depth" are declared as int, so they can't be larger > than INT_MAX. Static checkers complain and it's slightly confusing for > humans as well so let's just remove these conditions. > > Signed-off-by: Dan Carpenter Applied to cgroup/for-4.14. Thanks. -- tejun