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) <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Andreas Koensgen <[email protected]> Cc: David S. Miller <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Paolo Abeni <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Jeremy Kerr <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e2a61a7 commit 392a9d4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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)