Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4307915imm; Mon, 17 Sep 2018 11:34:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaWptrioPEzaRVpPodY7FLN16dnKgJEx+ubuuckDIjwyd8WXuTD10KPapGVXDrc4nHahvul X-Received: by 2002:a17:902:a58c:: with SMTP id az12-v6mr26014596plb.339.1537209290281; Mon, 17 Sep 2018 11:34:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537209290; cv=none; d=google.com; s=arc-20160816; b=QWOy7p62iaf/+ADpVjZSrfWqiDdTjHigPfoIQHdsnuCqEyCn3T/9qVCVON3mplzLq2 Z0LIh16UesIx43PqmjEvedrCJkG1xf46yLkDwI0YgmNcPr5/DvANPyTxfqFIhlKHLRvq 1NBTR6W1LmThdc1N03qUi+j19/EdQ0PQLpNVEszqFQEhVB3HMGCrz+ZGeetnSMyO33wu lYwj05ZePRth/87+ig95aFfA5jtr3yjWs6EOkxtfcTcXM3wDtEPYQUcsuKk3II/Xk/hS 56BD+VJ22E1/Y6Bf4TXmro54VaGEClnj9d4Sxp2ZsKkHZgQ8G3aN+2TmByUR3up6k9QH C2Uw== 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=zKcYe5F5pMsp4k0a6Heqo6c+v+0dUO/RmYFFe5MUnbYixm57Lam+xqhVubsvU3Zv3/ zyPYDb3PSc9YDHPEWB7lMY27lkmGu8TDSmmXg9u/SVkjLnHmGr1pHcLdMImvnOdMW/TW YIEits5/vlqD0aUUqMS/FgO7oBe3czbsEL/xT//a+hfULuBhiDVaZN1YVkPmfoWQp2DH Vfoo0+cCa1ZHlL9HVtiD41yEhju4m4bWgS7mLZKtekRHBdCLtm2CeUccwzrX78OWrT0j 4ByoB6b4NGkYDBCa12uNoIrKXBIuHeftxi2Kb7cEwKBnr4KzZlVLM9ECSrLc9kzfLdWF QHlA== 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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 k18-v6si15228353pff.91.2018.09.17.11.34.33; Mon, 17 Sep 2018 11:34:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1728253AbeIRACz (ORCPT + 99 others); Mon, 17 Sep 2018 20:02:55 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:41451 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727089AbeIRACz (ORCPT ); Mon, 17 Sep 2018 20:02:55 -0400 Received: by mail-pl1-f195.google.com with SMTP id b12-v6so7824823plr.8 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=b7Am3aRgnIVImCUw+o6DG+BkVKqEuhoHf2C2dDQOwSwjn6gEYRxriIC7rhIA6iqOpL giyCzaHu29+gI2s8YpTrE13F5D3y1eoYV8JOi5BV6KkzaBXXXK7yiFYaU8sQgbHbmV7c 67YqjpWCjFSSK4fOnEBdwZnhOuzou8JvGWgLokoESUW4IKGRd7MZxmfvt234JTgrLpj/ VLDrRcWjD3YMFpcoC43+uB9xWEi5WC7gJiPL0WubvwDQgDWWTCKyyPR16Z6D3X+Dy71n DzpxCGpS5ItpgyAIr69C/ioxj+Li2RGiEuw+hDWP+phdc29twtE+Td3Aqecj40J3r4PE 9aFQ== X-Gm-Message-State: APzg51AkGrdI10NdSm1a3JQOd3EKAh32nKWc9Ffs0vUdX+KrUd8A/bD7 gZasd63S2vlw+Uv6awq75tCFpA== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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]; }; -- 1.9.1