mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
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 <daniel.starke@siemens.com> Link: https://lore.kernel.org/r/20220420101346.3315-2-daniel.starke@siemens.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7a107b2c6b
commit
538668d7d2
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue