commit | 638341d5dbd11f057a9b00176ade767b08a9e95f | [log] [tgz] |
---|---|---|
author | Fugang Duan <fugang.duan@nxp.com> | Wed Jul 17 13:19:29 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 04 12:43:45 2019 +0200 |
tree | ea21497749ebf0db57ad5f99ff6cfcc98f5557c9 | |
parent | ca8d92f6d3ddc24140554c24dcbe0a43759f37d7 [diff] |
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>