Re: [PATCH 1/1] net: pktgen: Deletion of an unnecessary check before the function call "proc_remove"

2014-11-19 Thread David Miller
From: SF Markus Elfring Date: Tue, 18 Nov 2014 20:16:05 +0100 > From: Markus Elfring > Date: Tue, 18 Nov 2014 20:10:34 +0100 > > The proc_remove() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was detecte

[PATCH 1/1] net: pktgen: Deletion of an unnecessary check before the function call "proc_remove"

2014-11-18 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 18 Nov 2014 20:10:34 +0100 The proc_remove() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- net/c