Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp915126ybl; Tue, 13 Aug 2019 04:43:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+tZTuLNH87XUTdSeJ60nHusovRuAhMwF1VoYLRSqxDWgUeH66G524JbKW2TZD/mklT4SM X-Received: by 2002:a63:3009:: with SMTP id w9mr35565132pgw.260.1565696638692; Tue, 13 Aug 2019 04:43:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565696638; cv=none; d=google.com; s=arc-20160816; b=PjaVcrN2lSfCUFRBsD0JXvfoOnPX64E/8gklPdAgx+2QYMIIhu4nN+G8Fm2bINx/Vt tJlK7v9X5ZMRscynOYcMt4VEB899qMc8/NzOi733IThXr9eib1BmvGrZnoTfbODcwtEN jqigK9+iLbkB45WRD3+wcKag7EeCyJAij8BDDUE28ULIDbU/HNaUMNRkhyyef8+5dk6M oNp/IPBQXLzgzNuA41Pzx+5nHuaJILRYpv0+yQ7FzgZifz/ikuR+cYtGxTdiX4QU5N/5 6fZoAKEDJOV0GLOdI8SR/kRUXbR3QhK1+1n3Gz3Bs8A1R/yxUTKWNcG710kVtdUjH+EQ ksuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xJHFbJv3Qj32hvfGQH2NW4Y4USAxhucfsDsbVygni/M=; b=yl/LjdT/NCIs2RYOiascAGGbaVd2wPjFUsK3onNJkDuDTZVDWJzM074aW0kbA73cf9 qfv7dHBd6I6Td7rSXhFgrFJLCganeXFEL2PyuiMv6vGGfotA0wZzHFhli293i2qgEs/x RItYlFopUv/VZUXFnqIloa4fVxNf5vinr2PLC2QRVD8xFbvshqELr5NPkCFLPvkGNsQg ISxLFS6YCvrCyl9fqLUfPYcp3YbtDUlr41VCcJlTTEsBCkScMu9xbj/aGqeSrpGPmf16 /NMOP8ZyCtg+/hkarvHMZJnZLLDwDaxnA4S6ybRTQhwaGkoEjU3K+WeFfbYbJbR/Nv9E QFuw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k16si63031034pfi.174.2019.08.13.04.43.42; Tue, 13 Aug 2019 04:43:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727264AbfHMLnA (ORCPT + 99 others); Tue, 13 Aug 2019 07:43:00 -0400 Received: from muru.com ([72.249.23.125]:57192 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726814AbfHMLnA (ORCPT ); Tue, 13 Aug 2019 07:43:00 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id AC96E805C; Tue, 13 Aug 2019 11:43:27 +0000 (UTC) Date: Tue, 13 Aug 2019 04:42:56 -0700 From: Tony Lindgren To: Roger Quadros Cc: Nishka Dasgupta , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/2] bus: ti-sysc: sysc_check_children(): Change return type to void Message-ID: <20190813114256.GR52127@atomide.com> References: <20190813071714.27970-1-nishkadg.linux@gmail.com> <20190813075553.2354-1-nishkadg.linux@gmail.com> <20190813075553.2354-2-nishkadg.linux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Roger Quadros [190813 11:14]: > > On 13/08/2019 10:55, Nishka Dasgupta wrote: > > Change return type of function sysc_check_children() from int to void as > > it always returns 0. Remove its return statement as well. > > At call site, remove the variable that was used to store the return > > value, as well as the check on the return value. > > > > You don't need to describe each and everything as it is obvious > from code. How about? > "Change return type of sysc_check_children() to "void" > as it never returns error" > > Should both patches can be squashed into one patch? Sure why not, makes it easier to follow :) Regards, Tony