Messages in this thread | | | Date | Tue, 27 Aug 2019 13:27:20 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH] RDMA/iwpm: Delete un necessary checks before the macro call “dev kfree s kb” |
| |
On Wed, Aug 21, 2019 at 07:47:08PM +0200, Markus Elfring wrote: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Wed, 21 Aug 2019 19:30:09 +0200 > > The dev_kfree_skb() function performs also input parameter validation. > Thus the test around the shown calls is not needed. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> > --- > drivers/infiniband/core/iwpm_msg.c | 9 +++------ > drivers/infiniband/core/iwpm_util.c | 9 +++------ > 2 files changed, 6 insertions(+), 12 deletions(-)
Applied to for-next, thanks
Jason
| |