Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1304121pxk; Fri, 4 Sep 2020 06:18:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7a6x7wCgQBQe+K3Itds2klc84Nz2Ili/7IxGj5lrOgC60cBo9pUSHEmMWDHq1FfD0de/Y X-Received: by 2002:a17:906:b881:: with SMTP id hb1mr7189868ejb.207.1599225506453; Fri, 04 Sep 2020 06:18:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599225506; cv=none; d=google.com; s=arc-20160816; b=AUjC6/w0hWyV3T85LOgMdKHwlDfPVE/xVzAguAAR8ngnuQ+GZoGDJJFtjZJdlPVsJS v4JXz0JlzW9W/edPWbBMr4w51sLTCMN2DH5/mc17tSaUpLPSfaxC2nvFDFjOrETTslTu thNcf/sUJi07VS/baZoaUqmytle0EWuiRpvloqlfYXjMWA6clu9cZXgHImn0KWltTjsJ Ol15XrCLO4A6wP6KeWavBJeXmcLQB3/3sIhIbuHR83eIqK4f5PNXdWmolxt/EVpH0tYv qaH9HIXO8JKbYeukaK12EMmtHG4/jMZSTfFYWCkmp9oEcMx8C3xqJbAvvM5xWD63kxiI UBtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=UhKrMJpeKb1WM0CJgPfjoJIxqd2YVgNzgGT9hQYD3NM=; b=rBtaHuja8lPAGlJ394g/AeJ1iILDhi6jceH90mnaJqYpHwTNQl6m9fSFw0O44za8Dq wfjr4S5EaXdnBCfl+/nxtQdk9or0G9FVPZS3Y3+QjJceCv3HbGb4iv+R2NM4F1++ecYo G2sMNjcrn+li4lIeiQbKj6gIRJTOQU88TNE2JILQ0yFgg74OgP0SEtnWB8uo6OrzZKPH 0f3CtC7tdbLmZQuRo5nuuqLniKdFJrxNgOL8mQQQJaws34GJSDBjzt9yDP9Yb2f1zlyZ EBIAOMs2eArHD5+gk9mouY6nAZ/xMtAqad8FUvMOxsLdloThk8wtQaM+AoSLiuBNYHZt CKCg== 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 v4si3945546edi.28.2020.09.04.06.18.02; Fri, 04 Sep 2020 06:18:26 -0700 (PDT) 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 S1730439AbgIDNNo (ORCPT + 99 others); Fri, 4 Sep 2020 09:13:44 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:10816 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728588AbgIDNNP (ORCPT ); Fri, 4 Sep 2020 09:13:15 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id B0FFDF05AD95A8EF610F; Fri, 4 Sep 2020 21:13:03 +0800 (CST) Received: from huawei.com (10.175.113.133) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Fri, 4 Sep 2020 21:12:58 +0800 From: Wang Hai To: , , , CC: , , Subject: [PATCH net-next] can: kvaser_pciefd: Remove unused macro KVASER_PCIEFD_KCAN_CTRL_EFRAME Date: Fri, 4 Sep 2020 21:10:26 +0800 Message-ID: <20200904131026.21817-1-wanghai38@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.113.133] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org KVASER_PCIEFD_KCAN_CTRL_EFRAME is never used after it was introduced. So better to remove it. Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/net/can/kvaser_pciefd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/can/kvaser_pciefd.c b/drivers/net/can/kvaser_pciefd.c index 6f766918211a..c0b18ff107c7 100644 --- a/drivers/net/can/kvaser_pciefd.c +++ b/drivers/net/can/kvaser_pciefd.c @@ -131,7 +131,6 @@ MODULE_DESCRIPTION("CAN driver for Kvaser CAN/PCIe devices"); /* Kvaser KCAN definitions */ #define KVASER_PCIEFD_KCAN_CTRL_EFLUSH (4 << 29) -#define KVASER_PCIEFD_KCAN_CTRL_EFRAME (5 << 29) #define KVASER_PCIEFD_KCAN_CMD_SEQ_SHIFT 16 /* Request status packet */ -- 2.17.1