aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/x25_asy.c
diff options
context:
space:
mode:
authorXie He <xie.he.0141@gmail.com>2020-09-10 23:35:03 -0700
committerDavid S. Miller <davem@davemloft.net>2020-09-11 14:43:52 -0700
commitd324fa8021692c54bb9c527e374e1a3cb831cc81 (patch)
tree83eb61e8cc9c3b7a0f55011ea3f5ad9d010a17cf /drivers/net/wan/x25_asy.c
parentnet: stmmac: set get_rx_header_len() as void for it didn't have any error code to return (diff)
downloadlinux-dev-d324fa8021692c54bb9c527e374e1a3cb831cc81.tar.xz
linux-dev-d324fa8021692c54bb9c527e374e1a3cb831cc81.zip
drivers/net/wan/x25_asy: Remove an unused flag "SLF_OUTWAIT"
The "SLF_OUTWAIT" flag defined in x25_asy.h is not actually used. It is only cleared at one place in x25_asy.c but is never read or set. So we can remove it. Signed-off-by: Xie He <xie.he.0141@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/x25_asy.c')
-rw-r--r--drivers/net/wan/x25_asy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c
index 7ee980575208..5a7cf8bf9d0d 100644
--- a/drivers/net/wan/x25_asy.c
+++ b/drivers/net/wan/x25_asy.c
@@ -243,8 +243,6 @@ static void x25_asy_encaps(struct x25_asy *sl, unsigned char *icp, int len)
actual = sl->tty->ops->write(sl->tty, sl->xbuff, count);
sl->xleft = count - actual;
sl->xhead = sl->xbuff + actual;
- /* VSV */
- clear_bit(SLF_OUTWAIT, &sl->flags); /* reset outfill flag */
}
/*