From patchwork Mon Sep 17 18:33:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 146855 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4099669ljw; Mon, 17 Sep 2018 11:34:24 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb/u5+UZYTbA6IPuDJpnuvC5TODTP81mwGNupN9U0GO3hXym5hW5nrztWEelAmotyieLL3M X-Received: by 2002:a17:902:5a4e:: with SMTP id f14-v6mr26307615plm.311.1537209264545; Mon, 17 Sep 2018 11:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537209264; cv=none; d=google.com; s=arc-20160816; b=BqryQg0ZpMdaRM5I4eS5t54pgJPR8d+KddKMGdEk8/mGxrfIbiV/R9ZHtUO2zDdzYR dj1znxQgdsmC0gTg3Ybns+cVvtGqegblSNZT1nGsbH5HY5uq8kimvw1gRPvHXnJ5U1pz /OkVhNz83tdSKE3G21s5cdboPiJ/SW62yTX8BSWPGsApUTmyfCnrQpCURCC3J68UqpMY LuGZpz/Eda6h+xEiCXmPwtq9DttzMpDIt8CO/OmHXfOoQAuX3d2GvGifOQHBi1H6Mu9Y qg+VWSSu57bwL+jVGrPj6B3SJSuW/AoyjjmO/9t8XomaLHlO0iaMR0scPaWYsI53lmI1 Uj/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=GPxEOjtjRb5FzIdtwFMOhqaLT0uUhzQCKrA3nsjl2UM=; b=1IugM3G0TKQuKgeRuNFzIiCEaFZLI+5reuNHjDkOHFFysHjMsY4098lKiIPrr1OKqS eBszixD7W9kN287rxiqKk1rzN4wEyho7dYx76VjroYXnVqoI0d+STze8gMc1TYi8ieKQ 3x6XWSQyTLmmj1Q8L2JLwt2ZoJcX96ZxhZE0Ef0xuEFKZOTn9achhG1ig/g5z+9V+Qau e2gG0Ce1G7rNsrPwIIekLGMibhyMBhxyfb2VKtVg/1kfgo2wCor9Ll3536OMv1ZXSm1x O5vNHotOKXvTWqIu9q/NzXb/evWCdLtV8lwDuQpUBVdQZfr5Qwy89pt+BIIsP+pUaMXo H6Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LDxk0VVu; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b38-v6si17927652plb.167.2018.09.17.11.34.24; Mon, 17 Sep 2018 11:34:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LDxk0VVu; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727089AbeIRAC4 (ORCPT + 2 others); Mon, 17 Sep 2018 20:02:56 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:35751 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727375AbeIRACz (ORCPT ); Mon, 17 Sep 2018 20:02:55 -0400 Received: by mail-pl1-f195.google.com with SMTP id g2-v6so7826736plo.2 for ; Mon, 17 Sep 2018 11:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=GPxEOjtjRb5FzIdtwFMOhqaLT0uUhzQCKrA3nsjl2UM=; b=LDxk0VVu4RiRG7HKW0CeBYwPe4dcYUz7oEyIvNYHOUOK/aJtzhYDWUWsRiDKVwAB8b fwnjoqOfMEEatUdPVmvK9tljLc8ScbAtcATHbG7p/4TZGXN8eZ6Apn1tdykLbTRocwRP VzzkQdwJU/z2CynrQLIPzv1Nd0z1WfJTJ48x0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GPxEOjtjRb5FzIdtwFMOhqaLT0uUhzQCKrA3nsjl2UM=; b=Y0SwgWg6I6bc/nrRgOsgryhkQKEcPhEJcB7huzkqjkdLGTV8AU4DXX6jPiHqbvSuTB YVO6WBpTyMTWivuKThTE+8DeJNchJIFd/ePOxoNAxZAJrhbeHGBDu0z8BABDelqVU6Is Qp5zBKcufMNqKdMnfIf+dVNYsrDUcIYL4wBdOumnlf4lLYYf6sfbI1Cswe6g8UocxgPo 75q4lCQjVCW8ykGHS4HMU6/2J5gxsx8diA2kzrhk0YjyjJBEPKbjdiTlsIKBXVZo9xRs Z6HkLdyNHQ6qadLJheZ/7rcNaeIR12zZQ6EJ4IdhLq1YLoaDTVvsQh4a3XCePYcoVep4 sP7w== X-Gm-Message-State: APzg51CpFR0jsnFGLbSo+UL4jZcBj+4xXZ3NhQC+dEfs2iANKjosjiv8 /lDR52yh25ER7tqIXx2DiR8qzw== X-Received: by 2002:a17:902:b283:: with SMTP id u3-v6mr25493239plr.2.1537209262573; Mon, 17 Sep 2018 11:34:22 -0700 (PDT) Received: from ubuntu.localdomain ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id i7-v6sm17544137pgs.17.2018.09.17.11.34.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Sep 2018 11:34:22 -0700 (PDT) From: Baolin Wang To: gregkh@linuxfoundation.org, jslaby@suse.com Cc: orsonzhai@gmail.com, baolin.wang@linaro.org, zhang.lyra@gmail.com, broonie@kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/5] serial: sprd: Remove unused structure Date: Mon, 17 Sep 2018 11:33:40 -0700 Message-Id: <96e34fdadaf3f354f5d8e0d2895508e7c7918839.1537208449.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Remove the unused reg_backup structure. Signed-off-by: Baolin Wang Acked-by: Chunyan Zhang --- Changes from v1: - Add acked tag from Chunyan. --- drivers/tty/serial/sprd_serial.c | 11 ----------- 1 file changed, 11 deletions(-) -- 1.9.1 diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c index 828f114..1b0e3fb 100644 --- a/drivers/tty/serial/sprd_serial.c +++ b/drivers/tty/serial/sprd_serial.c @@ -95,19 +95,8 @@ #define SPRD_IMSR_BREAK_DETECT BIT(7) #define SPRD_IMSR_TIMEOUT BIT(13) -struct reg_backup { - u32 ien; - u32 ctrl0; - u32 ctrl1; - u32 ctrl2; - u32 clkd0; - u32 clkd1; - u32 dspwait; -}; - struct sprd_uart_port { struct uart_port port; - struct reg_backup reg_bak; char name[16]; };