diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-11-24 14:20:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-26 04:29:48 +0300 |
commit | 1f1e70efe53c01844ce76d77c3383c2bcb6beb49 (patch) | |
tree | a75299efb444c275514d8853c9c88b8853b4e261 /net/socket.c | |
parent | 8006f6bf5e39f11c697f48df20382b81d2f2f8b8 (diff) | |
download | linux-1f1e70efe53c01844ce76d77c3383c2bcb6beb49.tar.xz |
fsl/fman: fix a leak in tgec_free()
We set "tgec->cfg" to NULL before passing it to kfree(). There is no
need to set it to NULL at all. Let's just delete it.
Fixes: 57ba4c9b56d8 ("fsl/fman: Add FMan MAC support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions