diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2019-08-21 19:30:09 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-08-27 13:09:23 -0300 |
commit | fd1a52f38c23c5d99fc2e6178ac4b74c5cbcf793 (patch) | |
tree | ebfac808e7b3f7b879fc42f96c66e71cc5a1be3f /tools/debugging | |
parent | RDMA/efa: Use existing FIELD_SIZEOF macro (diff) | |
download | linux-dev-fd1a52f38c23c5d99fc2e6178ac4b74c5cbcf793.tar.xz linux-dev-fd1a52f38c23c5d99fc2e6178ac4b74c5cbcf793.zip |
RDMA/iwpm: Delete unnecessary checks before the macro call "dev_kfree_skb"
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.
Link: https://lore.kernel.org/r/16df4c50-1f61-d7c4-3fc8-3073666d281d@web.de
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/debugging')
0 files changed, 0 insertions, 0 deletions