diff options
| author | Fugang Duan <fugang.duan@nxp.com> | 2019-07-17 13:19:29 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-04 12:43:45 +0200 |
| commit | 638341d5dbd11f057a9b00176ade767b08a9e95f (patch) | |
| tree | ea21497749ebf0db57ad5f99ff6cfcc98f5557c9 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | tty: serial: fsl_lpuart: use kzalloc() instead of kmalloc() (diff) | |
| download | linux-638341d5dbd11f057a9b00176ade767b08a9e95f.tar.gz linux-638341d5dbd11f057a9b00176ade767b08a9e95f.zip | |
tty: serial: fsl_lpuart: remove sg_set_buf() for sport->rx_sgl
Since .sg_init_one() already set sg entry page like below code.
sg_init_one()
sg_init_table(sg, 1);
sg_set_buf(sg, buf, buflen);
So it should not set sg entry page again, remove the redundant code.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Link: https://lore.kernel.org/r/20190717051930.15514-5-fugang.duan@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
