diff options
author | Quytelda Kahja <quytelda@tamalin.org> | 2018-02-18 12:26:55 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-19 18:06:36 +0100 |
commit | 343216fd5d67931f236a980839b7dbaec9cbb980 (patch) | |
tree | 159a49f25cb0e3505b1637cb82bed189dabc7792 /drivers/staging/gdm724x | |
parent | 7c82bafec57e9329136cea76d979e4f21fa9a8c8 (diff) |
Staging: gdm724x: tty: Remove unused macro 'gdm_tty_send_control'.
Remove the macro 'gdm_tty_send_control' which adds unnecessary complexity,
is unused, and has arguments that could mistakenly be evaluated multiple
times.
Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x')
-rw-r--r-- | drivers/staging/gdm724x/gdm_tty.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c index 25357dc3d88c..3cdebb81ba63 100644 --- a/drivers/staging/gdm724x/gdm_tty.c +++ b/drivers/staging/gdm724x/gdm_tty.c @@ -37,9 +37,6 @@ #define MUX_TX_MAX_SIZE 2048 -#define gdm_tty_send_control(n, r, v, d, l) (\ - n->tty_dev->send_control(n->tty_dev->priv_dev, r, v, d, l)) - #define GDM_TTY_READY(gdm) (gdm && gdm->tty_dev && gdm->port.count) static struct tty_driver *gdm_driver[TTY_MAX_COUNT]; |