Messages in this thread | | | Date | Mon, 14 Nov 2022 07:43:32 +0100 | From | Steffen Klassert <> | Subject | Re: [PATCH linux-next] net: af_key: remove redundant ret variable |
| |
On Wed, Nov 02, 2022 at 09:46:33PM +0800, zhang.songyi@zte.com.cn wrote: > >From a09ddf4bd144610fd17bdbf07f0c27700d805e6f Mon Sep 17 00:00:00 2001 > From: zhang songyi <zhang.songyi@zte.com.cn> > Date: Wed, 2 Nov 2022 21:05:39 +0800 > Subject: [PATCH linux-next] net: af_key: remove redundant ret variable > > Return value from pfkey_net_init() directly instead of taking this in > another redundant variable. > > Reported-by: Zeal Robot <zealci@zte.com.cn> > Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
pfkey is deprecated and should not be used anymore. Please do changes to pfkey just if there is a real bug to fix.
Thanks!
| |