From patchwork Fri Nov 22 10:51:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 179989 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp34878ilf; Fri, 22 Nov 2019 02:51:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwK31Ezd6EcOVNTZWONvNuw/Jp05QnWUlcfKKTH8QnXF2fIxkrWLujmJ4VvROBrK058/5gb X-Received: by 2002:a17:906:3e90:: with SMTP id a16mr21400630ejj.265.1574419903640; Fri, 22 Nov 2019 02:51:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419903; cv=none; d=google.com; s=arc-20160816; b=wxFXgIRuIm/8C3weU1CGKwfqT+n1FzfPxErt968txy2fun4yAWvmtDo7ghU4e8uSAP aH6GeZyCUm+Mdru3vMnDip3/v+m9/kcm+MTDwLaW0e0x/XV7cwptYOKWBf8ptf8jT636 VsIslE/gX/ggC8jRfm7gz2K8Yg80kxYzAPv8hW7cT52Wza5kC2+uOdpbQYbB4QpbLbWe pU8FGFLN8D5QRIR6NmPa0V9G8Oiifc3i/Ho01sha6dkd1jsdTp9kIdn8PgB634gQgQb6 tnK1FE4VzMAiR8iAL3z0VXWXJRcLvckaB3UavJc5VwVkgOntvLqGS7nSBSCpH6eg212q hD+w== 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=Yu9KDyxptDwqLuTA7xTY8BCLlGAehUEuHl2YkpDAZ2k=; b=Dpu6q/ZwGvBQnlzQ27cNLgps+eTJtVLs8otKR7HE/U7Z9sNyy4yjMTLszX2+2HWG8M 14NIfYkIi6SPF+UCXHmzAxm7jTCcX6/HY0Ws7bwrgPuQlVhNe3GWDu9opXv+Gly0ZrQr +Ji5romhqPgWqRQU4f1bKiL4UNW//xYGvV2vr040SwAlMvRZMd38dX8k+8a/DyEmcecy 2pKN8nt38r8PGfPWUYaI7y7AtSKhIhZeleADabat+tCUPr2IKnOZMxKrzyMfQk0NezxZ TITtSfNdrhqrmBBARzh0uKMfEiS/4ydi3eq0fpO0Nd24qXHYTl0mMJ/oMBZjNnrGEZP7 i8TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=An5nyaCm; 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 y51si2885664edb.29.2019.11.22.02.51.43; Fri, 22 Nov 2019 02:51:43 -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=An5nyaCm; 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 S1730094AbfKVKvj (ORCPT + 15 others); Fri, 22 Nov 2019 05:51:39 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40483 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730090AbfKVKvi (ORCPT ); Fri, 22 Nov 2019 05:51:38 -0500 Received: by mail-wr1-f65.google.com with SMTP id 4so4727750wro.7 for ; Fri, 22 Nov 2019 02:51:37 -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=Yu9KDyxptDwqLuTA7xTY8BCLlGAehUEuHl2YkpDAZ2k=; b=An5nyaCmsN9LwBfK8eEqIspPgSCpP3ohEiPD6soKUiKPOBmAHxNQ9H6EhnAGlcejny ofUkeAVk6jcom/azjeO5xz/WxymV0FwLcQ8XfBZssXrL4XprsIjeqlqvQ7ckOOBpSkS+ t8IMhzGmYBLxH53RTHGPbCfkFxxa3u2eskJlJ5m4B+IdLB5sD8D/YrkdW1bjW256n39x X/S5ecqVFBRpe6yPPQ23Lfk24+w5sV1JS4L379yQPLhOzz8JT1t6sZMA84xEbGIg2D3L OLdQ12hlxGVu2WvABBPPeVBHXFiHe4bFT+LL5DqDqFTgvDz+6wZsOBaYWSVj/AbeChYx ReBQ== 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=Yu9KDyxptDwqLuTA7xTY8BCLlGAehUEuHl2YkpDAZ2k=; b=D9QwuLwIF30rrihdBQ5Hqr7XjoX0+OniaKk9zhowhkR/zyWYzjqcno3+d/aK876KnK 1hKxI5jbly1RMwK7bi/gJJrH+yBHLJkex89P/VWfVb5uzUFAWxsdJDyCoW2IUdhIzRqw pFFyNNESv5EQMcr1emdiiVUpjcix2+dZcLxd8tbJ/yE/Rm52vMJ7HbdrhmKhlCqa1/m8 QQTep8xmVY+6/jn1SYMxA4fqiBLtn2ZyKxOpZMcmPLBswgevDVcVzvT5pXfemQG9JQai pkFbAuajjYbTK+nIK9kya8EhfjmfBvPhD2cRLzMVGsaJCaR2h9wT19Y/Uku5mfLBlbjn WtoQ== X-Gm-Message-State: APjAAAWaWOgUnBoup129WZ6QNIFdhiSTCLNF5ZxAGX+NwGG9wR3WrCjc 6MDkTyctVnhn7o3cl1IZGh/Kjwty/aY= X-Received: by 2002:adf:a551:: with SMTP id j17mr15993927wrb.18.1574419896440; Fri, 22 Nov 2019 02:51:36 -0800 (PST) Received: from localhost.localdomain ([2.27.35.135]) by smtp.gmail.com with ESMTPSA id w4sm2894338wmk.29.2019.11.22.02.51.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 02:51:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org, gregkh@google.com, stable@vger.kernel.org Subject: [PATCH 4.4 2/9] can: dev: can_dellink(): remove return at end of void function Date: Fri, 22 Nov 2019 10:51:06 +0000 Message-Id: <20191122105113.11213-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122105113.11213-1-lee.jones@linaro.org> References: <20191122105113.11213-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 9dd968ee792e..e0d067701edc 100644 --- a/drivers/net/can/dev.c +++ b/drivers/net/can/dev.c @@ -1041,7 +1041,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 = {