From patchwork Tue Aug 24 12:01:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 62568 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 214C0B70AF for ; Tue, 24 Aug 2010 22:01:30 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751717Ab0HXMBZ (ORCPT ); Tue, 24 Aug 2010 08:01:25 -0400 Received: from mail-ew0-f46.google.com ([209.85.215.46]:47207 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751375Ab0HXMBY (ORCPT ); Tue, 24 Aug 2010 08:01:24 -0400 Received: by ewy23 with SMTP id 23so3269241ewy.19 for ; Tue, 24 Aug 2010 05:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=fJnlnAb228HArGgCg1cdGdFHwBF9HMTCjHTAKqGY50U=; b=Z6ipT78l3hBa73PuKh/DKyo2GKiVilpobLR2pOhuKohof04TZTouc4b9RgIStpn3k8 mNtfjkgbgQKzG0vwekqcoTXY/EQ3UmoPV/X52qV4L12ZJ/bwZEF9MHgmchffTtIzxp+Y yGIJywGdm1E0xD6N0Hb+EjRQkloBjsQ6ZNlnI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=UWxZSKEmnA0nvLCDtaFcUPmPNcJy1E2K4Z2tSqtQt0qIjNOnxYJXJbVad3wmlpx7c6 Mw6EF+cZaZYOJlUHl6aGygut/ELi9p1g9717u4Y0qV0ZIjGepEGuxCHnNWPH+VrOTh3i F3zDnk9coBtfyomn/5T9ZNSeHTKgXeU1e2Obc= Received: by 10.213.35.6 with SMTP id n6mr5320921ebd.0.1282651282506; Tue, 24 Aug 2010 05:01:22 -0700 (PDT) Received: from bicker ([41.222.20.69]) by mx.google.com with ESMTPS id a48sm21555eei.7.2010.08.24.05.01.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 24 Aug 2010 05:01:21 -0700 (PDT) Date: Tue, 24 Aug 2010 14:01:05 +0200 From: Dan Carpenter To: netdev@vger.kernel.org Cc: Joe Perches , "David S. Miller" , kernel-janitors@vger.kernel.org Subject: [patch] plip: remove superflous return Message-ID: <20100824120105.GF29330@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This return isn't reachable and it obscures the goto on the line before. Signed-off-by: Dan Carpenter --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/plip.c b/drivers/net/plip.c index ec0349e..7e82a82 100644 --- a/drivers/net/plip.c +++ b/drivers/net/plip.c @@ -1279,7 +1279,6 @@ static void plip_attach (struct parport *port) if (!nl->pardev) { printk(KERN_ERR "%s: parport_register failed\n", name); goto err_free_dev; - return; } plip_init_netdev(dev);