Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1117478pxj; Thu, 17 Jun 2021 23:16:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDpiBwef6yZr0kg5+wkW/OWh2Lu3499+t+uI1P0FXc6NqcS00VcBUa6SjgBxgP5WXoYjjk X-Received: by 2002:aa7:ca50:: with SMTP id j16mr2766768edt.158.1623997015412; Thu, 17 Jun 2021 23:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623997015; cv=none; d=google.com; s=arc-20160816; b=wQbRGEr3V2i48JYbhcV2wNEVGY9D76A/pGM88Z+gwqA7VvH34wBHRSeYqNBME4R/3R OdAMha00UAfk7Zw1DtsIBaEwA3m+YJWu59J5T4QyPetvX8tWJ5Q2H4Kgf4KLyBJWIeXp e8xzJMRyECtWD5DjoV0u9LMmzkZ0yksAfXmhiSseYN3KW7WpsOgeF1bUgc4cML0QdfJ0 XmhS2j3xTgAibO7q+xlogRkMAIqC7wQ9lZAWNcKb/Q2q6PI3lHTbp8I++JhEAGYdr1Zx Q9UgtRyEy/+68as63HVJa5WmK6xnQ58HZgYgqFIilU62QJirVKeIvE4KHH53A+JlvUzk pMLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=HHs26ewxb+WIlqSmY8rqsVlkX31cV+P/rI2MPlU4x6I=; b=pPiZp3TCxLBn+njw7v0vmBEups+56SSec+Yx/2phlSMOMaQSedfsU88hoYMX/kfk9T TLTKPJr8EIZU7sj37Oj4S3rcaNhHEgz/UnWHXH+dBwyq3f+xz/h5VJxqCJkb+zuUNaFZ 5X3lPbWe+Q00SeVvz+exPvvdhWHZgJWUrGMnAFG3QtJFH6fuZsxez6yIM03uXRGTtsPE SN9NINFp98RE3qOopCGcGelx9xHXqs9OClN/m8pxBQdJPN7XIlhqcgNXrRFDRzmSVgRK 2JCYWUYvGeDPXiR7oOnUSxmpQXzRGeflm2uw8di+itRoEXWJJkjTSAM5569vmPif9XMM R8bw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f22si1523702ejl.264.2021.06.17.23.16.32; Thu, 17 Jun 2021 23:16:55 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233753AbhFRCiB (ORCPT + 99 others); Thu, 17 Jun 2021 22:38:01 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:7484 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233650AbhFRChr (ORCPT ); Thu, 17 Jun 2021 22:37:47 -0400 Received: from dggeme755-chm.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4G5jd50RSCzZhWP; Fri, 18 Jun 2021 10:32:41 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by dggeme755-chm.china.huawei.com (10.3.19.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 18 Jun 2021 10:35:37 +0800 From: Peng Li To: , , , , CC: , , Subject: [PATCH V2 net-next 5/7] net: hostess_sv11: remove dead code Date: Fri, 18 Jun 2021 10:32:22 +0800 Message-ID: <1623983544-39879-6-git-send-email-lipeng321@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1623983544-39879-1-git-send-email-lipeng321@huawei.com> References: <1623983544-39879-1-git-send-email-lipeng321@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggeme755-chm.china.huawei.com (10.3.19.101) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch removes the dead code. Signed-off-by: Peng Li --- drivers/net/wan/hostess_sv11.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wan/hostess_sv11.c b/drivers/net/wan/hostess_sv11.c index 7a59d7e..4e11c86 100644 --- a/drivers/net/wan/hostess_sv11.c +++ b/drivers/net/wan/hostess_sv11.c @@ -151,8 +151,6 @@ static int hostess_close(struct net_device *d) static int hostess_ioctl(struct net_device *d, struct ifreq *ifr, int cmd) { - /* struct z8530_dev *sv11=dev_to_sv(d); - z8530_ioctl(d,&sv11->chanA,ifr,cmd) */ return hdlc_ioctl(d, ifr, cmd); } -- 2.8.1