Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp940814pxb; Wed, 3 Mar 2021 21:53:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxqB8gcAq1USX/5BhzBsCjHOSXUc8slL0rg2KydAcQJyXUAJ7GLYE4kyPi8Ymv6z+ya5pE X-Received: by 2002:a17:906:6817:: with SMTP id k23mr2414821ejr.6.1614837225663; Wed, 03 Mar 2021 21:53:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614837225; cv=none; d=google.com; s=arc-20160816; b=iZsea2bvGqShhLFxvJb3w2oOdh6ifTohaO3qLFOKaiGd8LWUACgSs2knVYbOJGigud BGY8wBaEd5GX2Nj2JuFCUATqcVRwAUnn5KD+NJOILdPH8nvtMOIbW7rWv5DXgYsrJ6kO t9BjdNgy5LXJ+gwOiTdZQNdb5LZrkuj7CBTWF82F6edgl2AskVYBaFdyJtQWOMMCaJ+2 YphBwThQpEiRxvIESP4v6d9YNxgWkjh2LC2FHQH2TMp6+7xZIeilvTGPORy+cGdpAKk8 zm1bojhWa0UcW3LtHNb/CF/vefmDou3hyjK2XDeVKoWFImtui+o8o8Mh+IXnr6YbOzdY tQcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dB3RaYUC6/mfz6h/1/Owwcslbnj1qP+MR4dpq1El8nQ=; b=dCqruXoCcW08ZSmUjkNhEuecg4k+oc7sFTfHTx6sSeiUPUx2qUFiMEI3q9DXjeD/28 0kHnB8lNxJXHa+ROm9bLScTnGpgM0xBx+Jnv6HHdAwA8xl9jnJogJgxoBg4W01LfuvQP buf+I6GVH0Aye+nHVyb+1RtIxFWgaLegfVByQIk5SUDUcOgynirhaFepjP04aUZeOaZ+ akhBvlM3sutyq5GgFttYR+LZGsZ+EwYWp/cMkoArH5Zomd4QpsCcoK/VApEr9ztpdflX b8z+MUEwl++0oq5w0A8CNt9eOa0+uEtq6UcDIr/4WrsTKtKM9r1wBzicZtgfcCwIwlj0 nsGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h26si15699954edw.139.2021.03.03.21.53.21; Wed, 03 Mar 2021 21:53:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380976AbhCBHRn (ORCPT + 99 others); Tue, 2 Mar 2021 02:17:43 -0500 Received: from mx2.suse.de ([195.135.220.15]:39910 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1835887AbhCBGYp (ORCPT ); Tue, 2 Mar 2021 01:24:45 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 53225B025; Tue, 2 Mar 2021 06:22:19 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 22/44] tty: nozomi, remove struct buffer Date: Tue, 2 Mar 2021 07:21:52 +0100 Message-Id: <20210302062214.29627-22-jslaby@suse.cz> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210302062214.29627-1-jslaby@suse.cz> References: <20210302062214.29627-1-jslaby@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It is unused. Signed-off-by: Jiri Slaby --- drivers/tty/nozomi.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index 861e95043191..83490925a3e2 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 */ -- 2.30.1