From: Jiri Slaby <jslaby@suse.cz> Date: Tue, 2 Mar 2021 06:21:52 +0000 (+0100) Subject: tty: nozomi, remove struct buffer X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d01a83590b7d8c647337fb641b5bf09a0a8b0da2;p=linux.git tty: nozomi, remove struct buffer 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> --- diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index 861e950431919..83490925a3e2a 100644 --- a/drivers/tty/nozomi.c +++ b/drivers/tty/nozomi.c @@ -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 */