From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH 3/4] dsa: mv88e6xxx: Delete ppu timer when removing module Date: Tue, 23 Aug 2016 16:10:16 +0200 Message-ID: <20160823141016.GG20029@lunn.ch> References: <1471874464-16142-1-git-send-email-andrew@lunn.ch> <1471874464-16142-4-git-send-email-andrew@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Miller , Jamie Lentin , Florian Fainelli , Vivien Didelot , netdev To: Sergei Shtylyov Return-path: Received: from vps0.lunn.ch ([178.209.37.122]:42326 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753728AbcHWQYr (ORCPT ); Tue, 23 Aug 2016 12:24:47 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: > >+static void mv88e6xxx_phy_destroy(struct mv88e6xxx_chip *chip) > >+{ > >+ if (mv88e6xxx_has(chip, MV88E6XXX_FLAG_PPU)) { > >+ mv88e6xxx_ppu_state_destroy(chip); > >+ } > > {} not needed here. See Documentation/CodingStyle, chapter 3. Agreed, I will send a follow up patch, since the patchset has been accepted. Thanks Andrew