Re: [iproute PATCH] tipc: Drop unused variable 'genl'

2018-10-22 Thread Stephen Hemminger
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

[iproute PATCH] tipc: Drop unused variable 'genl'

2018-10-18 Thread Phil Sutter
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 --- tipc/node.c | 9 +++-- 1 file changed, 3 insertions(+), 6