diff options
| author | Daniel Starke <[email protected]> | 2022-04-20 03:13:45 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-20 16:54:20 +0200 |
| commit | 538668d7d2deb39bc3aa3b9af24fd779bd8f8b82 (patch) | |
| tree | e4861e16b83b85336b5a3b966696a4572d5c43c4 | |
| parent | 7a107b2c6b813c3c587d1e76cb405dc637dd2b36 (diff) | |
tty: n_gsm: clean up dead code in gsm_queue()
Remove commented out code as it is never used and if anyone accidentally
turned it on, it would be broken.
Signed-off-by: Daniel Starke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/tty/n_gsm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index fa92f727fdf8..1549fd67d21c 100644 --- a/drivers/tty/n_gsm.c +++ b/drivers/tty/n_gsm.c @@ -1908,10 +1908,6 @@ static void gsm_queue(struct gsm_mux *gsm) case UI|PF: case UIH: case UIH|PF: -#if 0 - if (cr) - goto invalid; -#endif if (dlci == NULL || dlci->state != DLCI_OPEN) { gsm_command(gsm, address, DM|PF); return; |