From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [iproute PATCH] tipc: Drop unused variable 'genl' Date: Mon, 22 Oct 2018 10:08:30 -0700 Message-ID: <20181022100830.129250f4@xeon-e3> References: <20181018134809.843-1-phil@nwl.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Richard Alpe , netdev@vger.kernel.org To: Phil Sutter Return-path: Received: from mail-pg1-f194.google.com ([209.85.215.194]:45133 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727218AbeJWB1w (ORCPT ); Mon, 22 Oct 2018 21:27:52 -0400 Received: by mail-pg1-f194.google.com with SMTP id s3-v6so6092375pga.12 for ; Mon, 22 Oct 2018 10:08:33 -0700 (PDT) In-Reply-To: <20181018134809.843-1-phil@nwl.cc> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 18 Oct 2018 15:48:09 +0200 Phil Sutter wrote: > Although initialized by call to libmnl, the variable is used only in a > call to sizeof(). Drop it and call sizeof with its type instead. > > Fixes: f043759dd4928 ("tipc: add new TIPC configuration tool") > Signed-off-by: Phil Sutter Applied