From patchwork Wed Nov 27 07:22:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 180267 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp5736046ilf; Tue, 26 Nov 2019 23:22:38 -0800 (PST) X-Google-Smtp-Source: APXvYqxRvn0sOXt7idMjvB3OLf51C5n3SSMDa9zcDXpXbSprhkxJldSOwoD1gjKemCraIAs9+b3S X-Received: by 2002:a17:906:1611:: with SMTP id m17mr48611315ejd.281.1574839358024; Tue, 26 Nov 2019 23:22:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574839358; cv=none; d=google.com; s=arc-20160816; b=LJwmubBOy4FjlmeuXLFpO2W41JI5dncxUojcvzzBM1zrJPM4XVEYdltZSMTSDVJmBC gRM+nhpVhFQTH+GYxdVBw7Uxp/cRpmrwDPaOoxRKq57A8dCbJL5cd77vx5hzdvrSXemE 4c1Z0jnyhb7SDTX84vX8kpj2mTMw0azNTNlXWj93T0beunWtb9Dog90b/EmwNOrycZzX bVoXAqAsN7NzZr/wB6+UfeMsupDT9yGvYw4kCYYVwvu3vfF3rf5agEDxo6R7hAFSIJc2 Dr9KCEsK3sUZ/+W9OVepEouGAbN/kqxFXJEGircwtvV/bWL+ynwI7IEgVPcd+GawMV5Q erlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=VwBKkPsx+uAn3PLEG6SoAp/dys1syHkjUrLSI7HsUI8=; b=el6IvZp7O5TaUFIQwpL8/yC5kIw9EHXGwavdBCxbWEGVAqJ13u+V96/6jGDakZe7PC tukXO7aggjwXXBvXAHkg01mx1Q+ts/RbmkhAYSCego2JHUom0xFRW2DPGQbe7cXZE/gy eqCCyN5M2mq/oybuTbFI/q225qa6cONs910zr1T2zcnekJWLySYaxQg3ekPnxdexwLtN FI6MbrfruLjkMjpWHNj65zrzEJnSoCwZHlDbB0iHPXRFsi/PC0oQtbIDo0j9aEvPqWpx S84nnZPeUuWQGTnszTv6wpUKuZO+KribZqeg05pWFjnzSuM5RCWqgNCmjHRHH4DQwQAg +rgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KRe3O4Q6; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 m19si69058ejc.66.2019.11.26.23.22.37; Tue, 26 Nov 2019 23:22:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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=KRe3O4Q6; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 S1726526AbfK0HWh (ORCPT + 15 others); Wed, 27 Nov 2019 02:22:37 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36380 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726514AbfK0HWh (ORCPT ); Wed, 27 Nov 2019 02:22:37 -0500 Received: by mail-wr1-f68.google.com with SMTP id z3so25354672wru.3 for ; Tue, 26 Nov 2019 23:22:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=VwBKkPsx+uAn3PLEG6SoAp/dys1syHkjUrLSI7HsUI8=; b=KRe3O4Q61K5kdzoe0dhCoyP8+/eLnCNn/Te7RNzrVTVlCrhTVXPq/h6FI62HJ8KzKC fTwHBDfuh/XIr5bJjayKTVD/O6cp0bTocq5OS87Gv3ofMILZ4WpwTsUKMVdSQrGy3F1J pILHQOc+0/+vAEkFZPFR1LiOM1veR9Aa/b86tb+lF1uY/UOr2+6zoBDJKilwqs3/3fF7 RWKBeZE0yoF00+LUnuXjCsbG6P+GAUdjIRHpARkMOp1JdwpKTl9SFoqcxS/k8X0lNmie pTKjg2poRyjSobOe+6mPvUyuYkIKAcncsoqA4BONO9+ZPWtCtsMbJ+9yOJAzNbAy589C 0iCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VwBKkPsx+uAn3PLEG6SoAp/dys1syHkjUrLSI7HsUI8=; b=pmrYa3EbPz+XDs5s/0QqPq4j8AQq8F7H6uk9aH2/tAK3P2ZJ/hhQB56IjhaQbPR5MK Ug0I618AFe5cgGcB4Nb127NbyPMme/MSdwV8JJFvUNCTtRU53VDtbSLrnpiYkxPeT9ZN D1LBIMQwRPTUwMvZybgxuaGbjUVN6nBA7i2CO2GMJ87q9jZwpBbybt0bY67rM0VkodiH EmJFDNrEzZUHJoVQgAqRbrYpW40rPdbnFDqESIztakBalPcSZN8wuKZpDmB6XvORfCb9 EFtZ4WWdR5UYDXUNVUj6MXTHSApZf2qYOijNDmaaR+DWrxmp9guzgiq8d4jkS3mtnRFe pWqA== X-Gm-Message-State: APjAAAVJCURogLDdJj+4+NXTwr6h7mE0eclDpP1M2kQOLfEclZfF5h0D 6OYX0k9gac2uSx0DB6ixuvFaeorTa3Q= X-Received: by 2002:a5d:460b:: with SMTP id t11mr42320051wrq.185.1574839354817; Tue, 26 Nov 2019 23:22:34 -0800 (PST) Received: from localhost.localdomain ([95.149.164.101]) by smtp.gmail.com with ESMTPSA id g21sm19605289wrb.48.2019.11.26.23.22.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 23:22:34 -0800 (PST) From: Lee Jones To: stable@vger.kernel.org Subject: [PATCH 5.3 2/2] can: dev: can_dellink(): remove return at end of void function Date: Wed, 27 Nov 2019 07:22:19 +0000 Message-Id: <20191127072219.30798-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191127072219.30798-1-lee.jones@linaro.org> References: <20191127072219.30798-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Marc Kleine-Budde [ Upstream commit d36673f5918c8fd3533f7c0d4bac041baf39c7bb ] This patch remove the return at the end of the void function can_dellink(). Signed-off-by: Marc Kleine-Budde Signed-off-by: Lee Jones --- drivers/net/can/dev.c | 1 - 1 file changed, 1 deletion(-) -- 2.24.0 diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c index 99fa712b48b3..8ada8e7326f9 100644 --- a/drivers/net/can/dev.c +++ b/drivers/net/can/dev.c @@ -1210,7 +1210,6 @@ static int can_newlink(struct net *src_net, struct net_device *dev, static void can_dellink(struct net_device *dev, struct list_head *head) { - return; } static struct rtnl_link_ops can_link_ops __read_mostly = {