Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263684AbUC3OhZ (ORCPT ); Tue, 30 Mar 2004 09:37:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263689AbUC3OhY (ORCPT ); Tue, 30 Mar 2004 09:37:24 -0500 Received: from delerium.kernelslacker.org ([81.187.208.145]:1676 "EHLO delerium.codemonkey.org.uk") by vger.kernel.org with ESMTP id S263684AbUC3OhW (ORCPT ); Tue, 30 Mar 2004 09:37:22 -0500 Date: Tue, 30 Mar 2004 15:35:24 +0100 From: Dave Jones To: pc300@cyclades.com Cc: Linux Kernel Subject: [PATCH] pc300 driver misplaced ; Message-ID: <20040330143524.GB25834@redhat.com> Mail-Followup-To: Dave Jones , pc300@cyclades.com, Linux Kernel Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 687 Lines: 16 --- linux-2.6.4/drivers/net/wan/pc300_drv.c~ 2004-03-30 15:30:57.000000000 +0100 +++ linux-2.6.4/drivers/net/wan/pc300_drv.c 2004-03-30 15:32:11.000000000 +0100 @@ -3661,7 +3661,7 @@ release_mem_region(card->hw.falcphys, card->hw.falcsize); } for (i = 0; i < card->hw.nchan; i++) - if (card->chan[i].d.dev); + if (card->chan[i].d.dev) free_netdev(card->chan[i].d.dev); if (card->hw.irq) free_irq(card->hw.irq, card); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/