OSDN Git Service

tty: nozomi, remove struct buffer
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:21:52 +0000 (07:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:34:07 +0000 (09:34 +0100)
It is unused.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210302062214.29627-22-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/nozomi.c

index 861e950..8349092 100644 (file)
@@ -359,12 +359,6 @@ struct nozomi {
        u32 open_ttys;
 };
 
-/* This is a data packet that is read or written to/from card */
-struct buffer {
-       u32 size;               /* size is the length of the data buffer */
-       u8 *data;
-} __attribute__ ((packed));
-
 /* Global variables */
 static const struct pci_device_id nozomi_pci_tbl[] = {
        {PCI_DEVICE(0x1931, 0x000c)},   /* Nozomi HSDPA */