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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80311ECAAD3 for ; Sat, 17 Sep 2022 18:04:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229542AbiIQSEQ (ORCPT ); Sat, 17 Sep 2022 14:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbiIQSEP (ORCPT ); Sat, 17 Sep 2022 14:04:15 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80EE72B250 for ; Sat, 17 Sep 2022 11:04:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=W4jDjc74F1GvNI7LC5LjxqRCSTiRDGnvkTRAQGket3o=; b=MI49MrL5B++joLMwljld4ffsQg H/g0tVJJlz+9fkfD2x9jLbNTg6PkiVXlNyT8h3Id5unWNL3tmAcWpj7w4eluBu391rF97jcETXlDZ v92QbCmxLN9G1+pL8O7UsSot+PhLpFiw3lg/leewn1Z0DUAQxpE0bBzRa860dC1SF5kM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oZcAm-00GzzP-Ut; Sat, 17 Sep 2022 20:04:12 +0200 Date: Sat, 17 Sep 2022 20:04:12 +0200 From: Andrew Lunn To: Mattias Forsblad Cc: netdev@vger.kernel.org, Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux@armlinux.org.uk, ansuelsmth@gmail.com Subject: Re: [PATCH net-next v13 4/6] net: dsa: mv88e6xxxx: Add RMU functionality. Message-ID: References: <20220916121817.4061532-1-mattias.forsblad@gmail.com> <20220916121817.4061532-5-mattias.forsblad@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220916121817.4061532-5-mattias.forsblad@gmail.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > +static inline bool mv88e6xxx_rmu_available(struct mv88e6xxx_chip *chip) > +{ > + return chip->rmu.master_netdev ? 1 : 0; > +} I don't think this is needed any more? Andrew