Skip to content

Commit 392a9d4

Browse files
Jiri Slaby (SUSE)gregkh
authored andcommitted
6pack: drop sixpack::buffsize
It's never read. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Andreas Koensgen <ajk@comnets.uni-bremen.de> Cc: David S. Miller <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Paolo Abeni <pabeni@redhat.com> Cc: linux-hams@vger.kernel.org Cc: netdev@vger.kernel.org Reviewed-by: Jeremy Kerr <jk@codeconstruct.com.au> Link: https://lore.kernel.org/r/20240808103549.429349-10-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent e2a61a7 commit 392a9d4

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/net/hamradio/6pack.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ struct sixpack {
100100
unsigned int rx_count_cooked;
101101
spinlock_t rxlock;
102102

103-
int buffsize; /* Max buffers sizes */
104-
105103
unsigned long flags; /* Flag values/ mode etc */
106104
unsigned char mode; /* 6pack mode */
107105

@@ -584,7 +582,6 @@ static int sixpack_open(struct tty_struct *tty)
584582

585583
sp->xbuff = xbuff;
586584

587-
sp->buffsize = len;
588585
sp->rcount = 0;
589586
sp->rx_count = 0;
590587
sp->rx_count_cooked = 0;

0 commit comments

Comments
 (0)