From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31A06C433E0 for ; Wed, 24 Feb 2021 09:39:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E192164EC8 for ; Wed, 24 Feb 2021 09:39:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234673AbhBXJi4 (ORCPT ); Wed, 24 Feb 2021 04:38:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:44586 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234656AbhBXJie (ORCPT ); Wed, 24 Feb 2021 04:38:34 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 05B3164E2B; Wed, 24 Feb 2021 09:37:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614159473; bh=XMs7FqMnHseLFwajEV3o4YACWAO6IOJ8nmbQCvsXrDk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZPfNOxTzwi8NzJCXZKGXWyyDOPDHP05dMloL7OEragvQZhkugnDPowkXc9UcbIMcU 4PA3WrQHRhYeL1+CDHaZrnPxoUvfklvkr2k0+MxPwLNj+T8D5y0o7SpnOqFNdenucJ PlSyidkBeeCDVbhRApMGtftU7l3RCs9cnN7D3PvVj3TVh+NlEykyh71EtBHk88t4ma 5sXIZ2rmOL55qtpjy1EZIVI1J1twEC+lMVgp2fwra3y+0GDWuXvj/9fHCZqVVI2pHH em6rrnQt+yGAYX94kT4p4qLZM6/6D2S0L7S4nyp/ku7PqCHneaMIfXGJIwF35ustg8 5XofU1uRvn9TA== Received: from johan by xi.lan with local (Exim 4.93.0.4) (envelope-from ) id 1lEqcU-0007EZ-5K; Wed, 24 Feb 2021 10:38:10 +0100 Date: Wed, 24 Feb 2021 10:38:10 +0100 From: Johan Hovold To: dingsenjie@163.com Cc: linux-kernel@vger.kernel.org, dingsenjie Subject: Re: [PATCH] gnss: ubx: Simplify the return expression in the ubx.c Message-ID: References: <20210224092947.17724-1-dingsenjie@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210224092947.17724-1-dingsenjie@163.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 24, 2021 at 05:29:47PM +0800, dingsenjie@163.com wrote: > From: dingsenjie > > Simplify the return expression. This was done on purpose (keep error paths separate from success) so no need to "simplify". Johan